summaryrefslogtreecommitdiff
path: root/packages/libcap/libcap-1.10
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-05-24 09:05:08 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-05-24 09:05:08 +0000
commitf2e86a34835410b9a9e4917f65d390bb376a6622 (patch)
treef6b67d0c2bf5b3608cf290583428368668655fca /packages/libcap/libcap-1.10
parentac09a4b288fd3daaea26d81fb8d9545ed334e656 (diff)
libcap: Add missing syscall.patch. Thanks v8jlene for spotting.
Diffstat (limited to 'packages/libcap/libcap-1.10')
-rw-r--r--packages/libcap/libcap-1.10/syscall.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/libcap/libcap-1.10/syscall.patch b/packages/libcap/libcap-1.10/syscall.patch
new file mode 100644
index 0000000000..86163f2b1a
--- /dev/null
+++ b/packages/libcap/libcap-1.10/syscall.patch
@@ -0,0 +1,20 @@
+Index: libcap-1.10/libcap/cap_sys.c
+===================================================================
+--- libcap-1.10.orig/libcap/cap_sys.c 2007-05-24 10:59:24.000000000 +0200
++++ libcap-1.10/libcap/cap_sys.c 2007-05-24 11:01:42.000000000 +0200
+@@ -11,6 +11,7 @@
+ #define __LIBRARY__
+ #include <linux/unistd.h>
+
++#if 0
+ _syscall2(int, capget,
+ cap_user_header_t, header,
+ cap_user_data_t, data)
+@@ -18,6 +19,7 @@
+ _syscall2(int, capset,
+ cap_user_header_t, header,
+ const cap_user_data_t, data)
++#endif
+
+ /*
+ * $Log: cap_sys.c,v $