summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-04-18 05:26:43 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-04-18 05:26:43 +0000
commitf37673c780a109cf55c9b0553a24fb21aa223829 (patch)
treeae8b60d313b7af4b7ab790d5b84abd31e5dd3dbe /app-crypt/truecrypt/files
parentVersion bump, thanks to Thorsten Vollmer in bug #218179. (diff)
downloadhistorical-f37673c780a109cf55c9b0553a24fb21aa223829.tar.gz
historical-f37673c780a109cf55c9b0553a24fb21aa223829.tar.bz2
historical-f37673c780a109cf55c9b0553a24fb21aa223829.zip
Fix gcc-4.3 issue, bug#218137, thanks to Holger Ackermann
Package-Manager: portage-2.1.5_rc4
Diffstat (limited to 'app-crypt/truecrypt/files')
-rw-r--r--app-crypt/truecrypt/files/truecrypt-5.1a-gcc-4.3.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-crypt/truecrypt/files/truecrypt-5.1a-gcc-4.3.patch b/app-crypt/truecrypt/files/truecrypt-5.1a-gcc-4.3.patch
new file mode 100644
index 000000000000..acd92a2eb23e
--- /dev/null
+++ b/app-crypt/truecrypt/files/truecrypt-5.1a-gcc-4.3.patch
@@ -0,0 +1,33 @@
+diff -ubr ./truecrypt-5.1a-source/Core/FatFormatter.cpp ./truecrypt-5.1a-source-patch/Core/FatFormatter.cpp
+--- ./truecrypt-5.1a-source/Core/FatFormatter.cpp 2008-02-04 18:28:50.000000000 +0100
++++ ./truecrypt-5.1a-source-patch/Core/FatFormatter.cpp 2008-04-17 18:58:06.000000000 +0200
+@@ -13,6 +13,7 @@
+ #include "Common/Tcdefs.h"
+ #include "Platform/Platform.h"
+ #include "FatFormatter.h"
++#include <cstring>
+
+ namespace TrueCrypt
+ {
+diff -ubr ./truecrypt-5.1a-source/Platform/Memory.cpp ./truecrypt-5.1a-source-patch/Platform/Memory.cpp
+--- ./truecrypt-5.1a-source/Platform/Memory.cpp 2008-02-04 12:14:46.000000000 +0100
++++ ./truecrypt-5.1a-source-patch/Platform/Memory.cpp 2008-04-17 18:58:06.000000000 +0200
+@@ -8,6 +8,7 @@
+
+ #include "Memory.h"
+ #include "Exception.h"
++#include <cstring>
+
+ namespace TrueCrypt
+ {
+diff -ubr ./truecrypt-5.1a-source/Volume/EncryptionTest.cpp ./truecrypt-5.1a-source-patch/Volume/EncryptionTest.cpp
+--- ./truecrypt-5.1a-source/Volume/EncryptionTest.cpp 2008-02-04 12:14:12.000000000 +0100
++++ ./truecrypt-5.1a-source-patch/Volume/EncryptionTest.cpp 2008-04-17 18:58:06.000000000 +0200
+@@ -15,6 +15,7 @@
+ #include "EncryptionModeXTS.h"
+ #include "EncryptionTest.h"
+ #include "Pkcs5Kdf.h"
++#include <cstring>
+
+ namespace TrueCrypt
+ {