kumquat-buildroot/package/proftpd/proftpd-1.3.1-fix-kernel-header-capability-version.patch
Peter Korsgaard 575721ee91 proftp: bump version and fix compilation on 2.6.24+
Based on patch by Thiago A. Corrêa.
2008-06-18 08:45:23 +00:00

13 lines
486 B
Diff

--- 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"