summaryrefslogtreecommitdiffstats
path: root/package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch
diff options
context:
space:
mode:
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"