diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-29 10:48:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-29 10:48:46 +0000 |
commit | a0636310f8752b147ee0d1a769b6a8bcb603b2bc (patch) | |
tree | 0f48a0a61f7d54fb9e21ede8cb0d65c5c82149ea /package/system/utils/xfsprogs/patches/130-uclibc_no_xattr.patch | |
parent | eeb60d018ac3006b6e5b32e5ba29862743afe638 (diff) | |
download | master-187ad058-a0636310f8752b147ee0d1a769b6a8bcb603b2bc.tar.gz master-187ad058-a0636310f8752b147ee0d1a769b6a8bcb603b2bc.tar.bz2 master-187ad058-a0636310f8752b147ee0d1a769b6a8bcb603b2bc.zip |
move a few packages to system/utils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35375 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/utils/xfsprogs/patches/130-uclibc_no_xattr.patch')
-rw-r--r-- | package/system/utils/xfsprogs/patches/130-uclibc_no_xattr.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/system/utils/xfsprogs/patches/130-uclibc_no_xattr.patch b/package/system/utils/xfsprogs/patches/130-uclibc_no_xattr.patch new file mode 100644 index 0000000000..b1ecda71e5 --- /dev/null +++ b/package/system/utils/xfsprogs/patches/130-uclibc_no_xattr.patch @@ -0,0 +1,36 @@ +commit 10d6058b24f18cb31889154f830b191849f45106 +Author: Jens Muecke <jens@nons.de> +Date: Thu Jan 26 00:38:27 2012 +0100 + + 130-uclibc_no_xattr + +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 @@ + #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; + } + |