1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
svn-openwrt-archive/tools/tar/patches/100-fix_xattr_disable.patch
Felix Fietkau caddbf5431 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
2015-09-11 18:38:02 +00:00

18 lines
275 B
Diff

--- 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