From 9975bd012c988854eab642d8ae62e7a6922f41b5 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 14 Oct 2010 09:06:08 +0200 Subject: libcap, port nettoyé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../libcap-2.16-drop-linux-workarounds.patch | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 extra/libcap/libcap-2.16-drop-linux-workarounds.patch (limited to 'extra/libcap/libcap-2.16-drop-linux-workarounds.patch') diff --git a/extra/libcap/libcap-2.16-drop-linux-workarounds.patch b/extra/libcap/libcap-2.16-drop-linux-workarounds.patch deleted file mode 100644 index bbd6db835..000000000 --- a/extra/libcap/libcap-2.16-drop-linux-workarounds.patch +++ /dev/null @@ -1,43 +0,0 @@ -dont need these compat hacks anymore - -http://bugs.gentoo.org/265304 - ---- libcap/include/sys/capability.h -+++ libcap/include/sys/capability.h -@@ -22,18 +22,6 @@ - #include - #include - --/* -- * Make sure we can be included from userland by preventing -- * capability.h from including other kernel headers -- */ --#define _LINUX_TYPES_H --#define _LINUX_FS_H --#define __LINUX_COMPILER_H --#define __user -- --typedef unsigned int __u32; --typedef __u32 __le32; -- - #include - - /* ---- libcap/include/linux/capability.h -+++ libcap/include/linux/capability.h -@@ -40,13 +40,13 @@ - typedef struct __user_cap_header_struct { - __u32 version; - int pid; --} __user *cap_user_header_t; -+} *cap_user_header_t; - - typedef struct __user_cap_data_struct { - __u32 effective; - __u32 permitted; - __u32 inheritable; --} __user *cap_user_data_t; -+} *cap_user_data_t; - - - #define XATTR_CAPS_SUFFIX "capability" -- cgit v1.2.3-70-g09d2