diff options
author | Eric Hameleers <alien@slackware.com> | 2008-07-10 00:12:38 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-07-10 00:12:38 +0000 |
commit | 595392d9ef29a98d3d947460e9b8455eed8fa5a4 (patch) | |
tree | 64a5403daae02d12e337af65ec989ab4092f0045 /truecrypt | |
parent | 81bf816360e0864cc01130250047afaeb55b05e5 (diff) | |
download | asb-595392d9ef29a98d3d947460e9b8455eed8fa5a4.tar.gz asb-595392d9ef29a98d3d947460e9b8455eed8fa5a4.tar.xz |
Initial revision
Diffstat (limited to 'truecrypt')
-rw-r--r-- | truecrypt/build/truecrypt-6.0a_umount.patch | 27 | ||||
-rw-r--r-- | truecrypt/build/truecrypt_gcc43.patch | 33 |
2 files changed, 60 insertions, 0 deletions
diff --git a/truecrypt/build/truecrypt-6.0a_umount.patch b/truecrypt/build/truecrypt-6.0a_umount.patch new file mode 100644 index 00000000..f68e7fb6 --- /dev/null +++ b/truecrypt/build/truecrypt-6.0a_umount.patch @@ -0,0 +1,27 @@ +diff -uarN truecrypt-6.0a-source.orig/Core/Unix/Linux/CoreLinux.cpp truecrypt-6.0a-source/Core/Unix/Linux/CoreLinux.cpp +--- truecrypt-6.0a-source.orig/Core/Unix/Linux/CoreLinux.cpp 2008-07-04 21:23:54.000000000 +0200 ++++ truecrypt-6.0a-source/Core/Unix/Linux/CoreLinux.cpp 2008-07-10 02:01:20.000000000 +0200 +@@ -69,13 +69,23 @@ + void CoreLinux::DetachLoopDevice (const DevicePath &devicePath) const + { + list <string> args; ++ list <string> args2; + args.push_back ("-d"); + args.push_back (devicePath); ++ /* args2 needed to umount loop device before detaching it ++ by Enrico Lo Tauro (neongen)*/ ++ args2.push_back (devicePath); + + for (int t = 0; true; t++) + { + try + { ++ try ++ {Process::Execute ("umount", args2); ++ } ++ catch (ExecutedProcessFailed&) ++ { ++ } + Process::Execute ("losetup", args); + break; + } diff --git a/truecrypt/build/truecrypt_gcc43.patch b/truecrypt/build/truecrypt_gcc43.patch new file mode 100644 index 00000000..acd92a2e --- /dev/null +++ b/truecrypt/build/truecrypt_gcc43.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 + { |