]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libcap: Copy patch files into repository.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 14:54:21 +0000 (15:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 14:54:21 +0000 (15:54 +0100)
pkgs/core/libcap/libcap.nm
pkgs/core/libcap/patches/libcap-2.16-headerfix.patch [new file with mode: 0644]

index 966c0daeeb605864c40f9685cb7de932e81638a3..a1df47cdc540a712d786db88ffd57e8f0cc2eea8 100644 (file)
@@ -45,8 +45,6 @@ PKG_DEPS      += attr pam
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
-PKG_PATCHES   += $(THISAPP)-headerfix.patch
-
 ###############################################################################
 # Installation Details
 ###############################################################################
diff --git a/pkgs/core/libcap/patches/libcap-2.16-headerfix.patch b/pkgs/core/libcap/patches/libcap-2.16-headerfix.patch
new file mode 100644 (file)
index 0000000..ae6eb28
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up libcap-2.16/libcap/include/sys/capability.h.incfix libcap-2.16/libcap/include/sys/capability.h
+--- libcap-2.16/libcap/include/sys/capability.h.incfix 2009-03-22 17:54:02.000000000 +0100
++++ libcap-2.16/libcap/include/sys/capability.h        2009-03-22 17:54:09.000000000 +0100
+@@ -19,7 +19,7 @@ extern "C" {
+  * information for the user library.
+  */
+-#include <sys/types.h>
++#include <linux/types.h>
+ #include <stdint.h>
+ /*