summaryrefslogtreecommitdiff
path: root/package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-18 08:45:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-18 08:45:23 +0000
commit575721ee916a2e43465330c55cfebaf7484843a3 (patch)
treea432055b2c6abfcbf69e5a7a996dd9ceb5c31d8d /package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch
parent93c736ca9510039f73e08d3c071e86dd5b0c492c (diff)
proftp: bump version and fix compilation on 2.6.24+
Based on patch by Thiago A. Corrêa.
Diffstat (limited to 'package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch')
-rw-r--r--package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch b/package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch
new file mode 100644
index 000000000..2899c7f6b
--- /dev/null
+++ b/package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch
@@ -0,0 +1,12 @@
+--- a/lib/libcap/libcap.h 2008-04-24 19:46:29.475883739 +0200
++++ b/lib/libcap/libcap.h 2008-04-24 19:48:31.116088563 +0200
+@@ -52,7 +52,8 @@
+ */
+
+ #if !defined(_LINUX_CAPABILITY_VERSION) || \
+- (_LINUX_CAPABILITY_VERSION != 0x19980330)
++ ((_LINUX_CAPABILITY_VERSION != 0x19980330) && \
++ (_LINUX_CAPABILITY_VERSION != 0x20071026))
+
+ # error "Kernel <linux/capability.h> does not match library"
+ # error "file "libcap.h" --> fix and recompile libcap"