diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-04-15 08:46:40 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-04-15 08:46:40 +0300 |
commit | 1690cd31269ce9db0f3d3aaafda730e20296e7b4 (patch) | |
tree | 69a03240ecc42cb3d4872b5a0b0e06e67dceb338 /main/libcap-ng/fix-includes.patch | |
parent | 624577a1fc0186f25f7bd532acee001befd96d90 (diff) | |
download | aports-1690cd31269ce9db0f3d3aaafda730e20296e7b4.tar.bz2 aports-1690cd31269ce9db0f3d3aaafda730e20296e7b4.tar.xz |
main/libcap-ng: fix endianess detection
Diffstat (limited to 'main/libcap-ng/fix-includes.patch')
-rw-r--r-- | main/libcap-ng/fix-includes.patch | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/main/libcap-ng/fix-includes.patch b/main/libcap-ng/fix-includes.patch index 8a52a4efb3..90388e8117 100644 --- a/main/libcap-ng/fix-includes.patch +++ b/main/libcap-ng/fix-includes.patch @@ -1,10 +1,17 @@ -Only in libcap-ng-0.7.3: utils/.libs/filecap -Only in libcap-ng-0.7.3: utils/.libs/netcap -Only in libcap-ng-0.7.3: utils/filecap -Only in libcap-ng-0.7.3: utils/netcap -Only in libcap-ng-0.7.3: utils/netcap.o ---- libcap-ng-0.7.3.orig/utils/proc-llist.h -+++ libcap-ng-0.7.3/utils/proc-llist.h +diff -ru libcap-ng-0.7.4.orig/src/cap-ng.c libcap-ng-0.7.4/src/cap-ng.c +--- libcap-ng-0.7.4.orig/src/cap-ng.c 2014-04-24 15:41:43.000000000 -0300 ++++ libcap-ng-0.7.4/src/cap-ng.c 2015-04-15 08:45:10.783335463 -0300 +@@ -34,6 +34,7 @@ + #include <stdarg.h> + #include <errno.h> + #include <fcntl.h> ++#include <endian.h> + #include <byteswap.h> + #ifdef HAVE_SYSCALL_H + #include <sys/syscall.h> +diff -ru libcap-ng-0.7.4.orig/utils/proc-llist.h libcap-ng-0.7.4/utils/proc-llist.h +--- libcap-ng-0.7.4.orig/utils/proc-llist.h 2014-04-24 15:41:45.000000000 -0300 ++++ libcap-ng-0.7.4/utils/proc-llist.h 2015-04-15 08:44:48.820001003 -0300 @@ -25,7 +25,7 @@ #define PROC_HEADER @@ -14,4 +21,3 @@ Only in libcap-ng-0.7.3: utils/netcap.o /* This is the node of the linked list. Any data elements that are per * record goes here. */ -Only in libcap-ng-0.7.3: utils/proc-llist.o |