aboutsummaryrefslogtreecommitdiffstats
path: root/package/xfsprogs/patches/130-uclibc_no_xattr.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-16 18:20:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-16 18:20:30 +0000
commitf3fe6605bb79a24f2eaabc2b31afab4c6e4c26b6 (patch)
treec811d94cad5a4ee1aa6933ee12f10b02e2b9314e /package/xfsprogs/patches/130-uclibc_no_xattr.patch
parent667ac6c97025853f76a2f42ac259487249454247 (diff)
downloadupstream-f3fe6605bb79a24f2eaabc2b31afab4c6e4c26b6.tar.gz
upstream-f3fe6605bb79a24f2eaabc2b31afab4c6e4c26b6.tar.bz2
upstream-f3fe6605bb79a24f2eaabc2b31afab4c6e4c26b6.zip
add a package for xfsprogs
SVN-Revision: 25558
Diffstat (limited to 'package/xfsprogs/patches/130-uclibc_no_xattr.patch')
-rw-r--r--package/xfsprogs/patches/130-uclibc_no_xattr.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/xfsprogs/patches/130-uclibc_no_xattr.patch b/package/xfsprogs/patches/130-uclibc_no_xattr.patch
new file mode 100644
index 0000000000..30cb861b5b
--- /dev/null
+++ b/package/xfsprogs/patches/130-uclibc_no_xattr.patch
@@ -0,0 +1,28 @@
+--- a/fsr/xfs_fsr.c
++++ b/fsr/xfs_fsr.c
+@@ -35,7 +35,9 @@
+ #include <sys/wait.h>
+ #include <sys/vfs.h>
+ #include <sys/statvfs.h>
++#ifndef __UCLIBC__
+ #include <sys/xattr.h>
++#endif
+
+
+ #ifndef XFS_XFLAG_NODEFRAG
+@@ -990,6 +992,7 @@ fsr_setup_attr_fork(
+ int tfd,
+ xfs_bstat_t *bstatp)
+ {
++#ifndef __UCLIBC__
+ struct stat64 tstatbuf;
+ int i;
+ int last_forkoff = 0;
+@@ -1108,6 +1111,7 @@ fsr_setup_attr_fork(
+ out:
+ if (dflag)
+ fsrprintf(_("set temp attr\n"));
++#endif
+ return 0;
+ }
+