X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=tools%2Ftar%2Fpatches%2F100-fix_xattr_disable.patch;fp=tools%2Ftar%2Fpatches%2F100-fix_xattr_disable.patch;h=5735bd2364a4f324b54a3a49826921ead905d06f;hb=caddbf5431dbed6d1acc574a9a411e94a5824845;hp=0000000000000000000000000000000000000000;hpb=accc5e369343b9389081dc7ede7197e55d52d74f;p=openwrt%2Fstaging%2Fwigyori.git 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 + ++#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