summaryrefslogtreecommitdiffstats
path: root/package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-09 13:47:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-09 13:47:44 +0000
commit422ee452538f8925949f06e564e89a5dc1f82a1d (patch)
tree199a91a4be9d14106cc7bf1764b1dc3307b3849c /package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch
parent6de020d24128e74657b07b350d9213736c40242c (diff)
downloadmaster-31e0f0ae-422ee452538f8925949f06e564e89a5dc1f82a1d.tar.gz
master-31e0f0ae-422ee452538f8925949f06e564e89a5dc1f82a1d.tar.bz2
master-31e0f0ae-422ee452538f8925949f06e564e89a5dc1f82a1d.zip
xfsprogs: fix compile errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41058
Diffstat (limited to 'package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch')
-rw-r--r--package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch8
1 files changed, 3 insertions, 5 deletions
diff --git a/package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch b/package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch
index b1ecda71e5..a9b5a6fe94 100644
--- a/package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch
+++ b/package/utils/xfsprogs/patches/130-uclibc_no_xattr.patch
@@ -8,13 +8,11 @@ diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
index 40c2e6f..4f54059 100644
--- a/fsr/xfs_fsr.c
+++ b/fsr/xfs_fsr.c
-@@ -35,7 +35,9 @@
+@@ -35,7 +35,6 @@
#include <sys/wait.h>
#include <sys/vfs.h>
#include <sys/statvfs.h>
-+#ifndef __UCLIBC__
- #include <sys/xattr.h>
-+#endif
+-#include <sys/xattr.h>
#ifndef XFS_XFLAG_NODEFRAG
@@ -22,7 +20,7 @@ index 40c2e6f..4f54059 100644
int tfd,
xfs_bstat_t *bstatp)
{
-+#ifndef __UCLIBC__
++#if 0
struct stat64 tstatbuf;
int i;
int last_forkoff = 0;