summaryrefslogtreecommitdiff
path: root/tools/tar/patches
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
commitcaddbf5431dbed6d1acc574a9a411e94a5824845 (patch)
tree7c8e275219d705ba67243552de3f3d49d7863c3f /tools/tar/patches
parentaccc5e369343b9389081dc7ede7197e55d52d74f (diff)
downloadmtk-20170518-caddbf5431dbed6d1acc574a9a411e94a5824845.zip
mtk-20170518-caddbf5431dbed6d1acc574a9a411e94a5824845.tar.gz
mtk-20170518-caddbf5431dbed6d1acc574a9a411e94a5824845.tar.bz2
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> SVN-Revision: 46876
Diffstat (limited to 'tools/tar/patches')
-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 0000000..5735bd2
--- /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