X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Futils%2Fxfsprogs%2Fpatches%2F110-uclibc_no_ustat.patch;h=071dfc1aa8477f8ac5f55cd03493be649486f645;hb=422ee452538f8925949f06e564e89a5dc1f82a1d;hp=c46e8025cd7c9dce529fdf8407a189aaf274682a;hpb=4ebf19b48fafc8d94e14e4ba779969613b241a6a;p=openwrt%2F.git diff --git a/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch b/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch index c46e8025cd..071dfc1aa8 100644 --- a/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch +++ b/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch @@ -8,13 +8,11 @@ diff --git a/libxfs/linux.c b/libxfs/linux.c index 2e07d54..6a6c905 100644 --- a/libxfs/linux.c +++ b/libxfs/linux.c -@@ -21,7 +21,9 @@ +@@ -21,7 +21,6 @@ #include #include #undef ustat -+#ifndef __UCLIBC__ - #include -+#endif +-#include #include #include #include @@ -22,7 +20,7 @@ index 2e07d54..6a6c905 100644 int platform_check_ismounted(char *name, char *block, struct stat64 *s, int verbose) { -+#ifndef __UCLIBC__ ++#if 0 /* Pad ust; pre-2.6.28 linux copies out too much in 32bit compat mode */ struct ustat ust[2]; struct stat64 st;