Revert "libcap2: Fix uClibc build"
authorTom Rini <tom_rini@mentor.com>
Sat, 26 Feb 2011 16:43:31 +0000 (09:43 -0700)
committerTom Rini <tom_rini@mentor.com>
Sat, 26 Feb 2011 16:43:31 +0000 (09:43 -0700)
Petr Štetiar pointed out that I just switched this to using
attr/xattr.h from e2fsprogs or similar rather than correctly fixing this.

This reverts commit 150102aaf8226fcb56101ad0fbeda00ca95aef72.

recipes/libcap/libcap2/fix-uclibc-build.patch [deleted file]
recipes/libcap/libcap2_2.20.bb

diff --git a/recipes/libcap/libcap2/fix-uclibc-build.patch b/recipes/libcap/libcap2/fix-uclibc-build.patch
deleted file mode 100644 (file)
index d42736e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: libcap-2.20/libcap/cap_file.c
-===================================================================
---- libcap-2.20.orig/libcap/cap_file.c
-+++ libcap-2.20/libcap/cap_file.c
-@@ -5,7 +5,11 @@
-  */
- #include <sys/types.h>
-+#ifdef __UCLIBC__
-+#include <attr/xattr.h>
-+#else
- #include <sys/xattr.h>
-+#endif
- #include <byteswap.h>
- #include <sys/stat.h>
- #include <unistd.h>
index f4b8401..8f7dc3b 100644 (file)
@@ -11,7 +11,6 @@ LDFLAGS =+ "-L../libcap"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/libcap2/libcap-${PV}.tar.bz2 \
           file://make.patch \
-          file://fix-uclibc-build.patch \
        "
 
 SRC_URI[md5sum] = "10e47ed32ca2214eb0e58780282d27b4"