aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tar/patches/100-fix_xattr_disable.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-11 18:38:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-11 18:38:02 +0000
commitb412d6352aada99f9d64931501bb9fa43f9e21c2 (patch)
tree3cf2b3c5cdfde2ef3a8a1672570090ab602451af /tools/tar/patches/100-fix_xattr_disable.patch
parent1f9e25d6dd7870572c6686793af1aeb160eec558 (diff)
downloadmaster-187ad058-b412d6352aada99f9d64931501bb9fa43f9e21c2.tar.gz
master-187ad058-b412d6352aada99f9d64931501bb9fa43f9e21c2.tar.bz2
master-187ad058-b412d6352aada99f9d64931501bb9fa43f9e21c2.zip
tools: add tar host build, required for --sort=name which was only added in the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46876 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/tar/patches/100-fix_xattr_disable.patch')
-rw-r--r--tools/tar/patches/100-fix_xattr_disable.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/tar/patches/100-fix_xattr_disable.patch b/tools/tar/patches/100-fix_xattr_disable.patch
new file mode 100644
index 0000000000..5735bd2364
--- /dev/null
+++ b/tools/tar/patches/100-fix_xattr_disable.patch
@@ -0,0 +1,17 @@
+--- a/lib/xattr-at.c
++++ b/lib/xattr-at.c
+@@ -18,6 +18,8 @@
+
+ #include <config.h>
+
++#ifdef HAVE_XATTRS
++
+ #include "xattr-at.h"
+ #include "openat.h"
+
+@@ -108,3 +110,5 @@
+ #undef AT_FUNC_RESULT
+ #undef AT_FUNC_POST_FILE_PARAM_DECLS
+ #undef AT_FUNC_POST_FILE_ARGS
++
++#endif