]> CyberLeo.Net >> Repos - CDN/portage-cdn.git/blob - app-crypt/truecrypt/files/truecrypt-6.1-bool.patch
Initial import
[CDN/portage-cdn.git] / app-crypt / truecrypt / files / truecrypt-6.1-bool.patch
1 diff -urNp truecrypt-6.1-source.orig/Common/Crypto.h truecrypt-6.1-source/Common/Crypto.h
2 --- truecrypt-6.1-source.orig/Common/Crypto.h   2008-11-11 23:12:53.000000000 +0300
3 +++ truecrypt-6.1-source/Common/Crypto.h        2008-11-11 23:14:33.000000000 +0300
4 @@ -29,6 +29,10 @@
5  
6  #include "Tcdefs.h"
7  
8 +#ifndef BOOL
9 +#define BOOL BOOL1
10 +#endif
11 +
12  #ifdef __cplusplus
13  extern "C" {
14  #endif
15 diff -urNp truecrypt-6.1-source.orig/Makefile truecrypt-6.1-source/Makefile
16 --- truecrypt-6.1-source.orig/Makefile  2008-11-11 23:12:53.000000000 +0300
17 +++ truecrypt-6.1-source/Makefile       2008-11-11 23:13:32.000000000 +0300
18 @@ -50,6 +50,7 @@ C_CXX_FLAGS += -I$(PKCS11_INC)
19  endif
20  
21  C_CXX_FLAGS += -DBOOL=int -DFALSE=0 -DTRUE=1
22 +C_CXX_FLAGS += -DBOOL1=int
23  ifeq "$(origin USE64BIT)" "command line"
24  C_CXX_FLAGS += -D__int8=char -D__int16=short -D__int32=int '-D__int64=long'  # Tested in PlatformTest
25  else