summaryrefslogtreecommitdiffstats
path: root/package/proftpd/proftpd-0001-fix-kernel-header-capability-version.patch
blob: 4401c9aeafce6607c01f844c3c5d4fee8d8381d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/lib/libcap/libcap.h	2008-08-22 19:49:48.000000000 -0700
+++ b/lib/libcap/libcap.h	2010-10-06 15:31:11.000000000 -0700
@@ -65,7 +65,8 @@ struct _cap_struct {
  */
 
 #if !defined(_LINUX_CAPABILITY_VERSION_1) || \
-            (_LINUX_CAPABILITY_VERSION_1 != 0x19980330)
+            ((_LINUX_CAPABILITY_VERSION_1 != 0x19980330) && \
+            (_LINUX_CAPABILITY_VERSION_1 != 0x20071026))
 
 # error "Kernel <linux/capability.h> does not match library"
 # error "file "libcap.h" --> fix and recompile libcap"