summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-07-15 07:19:57 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-07-15 07:19:57 +0000
commitfd316f29362f03ea9fdaf84717658796f139ada4 (patch)
tree194ea1084e62561d3f0a91654866bb1f0dbfbf71 /app-crypt/truecrypt/files
parentuse dev-libs/boehm-gc #140043 (diff)
downloadgentoo-2-fd316f29362f03ea9fdaf84717658796f139ada4.tar.gz
gentoo-2-fd316f29362f03ea9fdaf84717658796f139ada4.tar.bz2
gentoo-2-fd316f29362f03ea9fdaf84717658796f139ada4.zip
added fix for 2.6.18 kernels as per bug #140387
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'app-crypt/truecrypt/files')
-rw-r--r--app-crypt/truecrypt/files/truecrypt-4.2a_kernel-2.6.18-rc1_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-crypt/truecrypt/files/truecrypt-4.2a_kernel-2.6.18-rc1_fix.patch b/app-crypt/truecrypt/files/truecrypt-4.2a_kernel-2.6.18-rc1_fix.patch
new file mode 100644
index 000000000000..e43dd5c5637d
--- /dev/null
+++ b/app-crypt/truecrypt/files/truecrypt-4.2a_kernel-2.6.18-rc1_fix.patch
@@ -0,0 +1,13 @@
+--- truecrypt-4.2a/Linux/Kernel/Dm-target.c 2006-06-28 12:36:28.000000000 +0200
++++ truecrypt-4.2a_fixed/Linux/Kernel/Dm-target.c 2006-07-14 19:02:40.000000000 +0200
+@@ -26,6 +26,10 @@
+ #error Linux kernel 2.6.5 or later required
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
++#define DM_MSG_PREFIX "truecrypt"
++#endif
++
+ int trace_level = 0;
+
+ #define MSG_PREFIX "truecrypt: "