fix copy'n paste error
[buildroot.git] / package / fakeroot / fakeroot-uclibc-LFS.patch
blobaa952d2b9313ebc4822ceb204322ad6525b53141
1 diff -u fakeroot-1.8.10.orig/communicate.h fakeroot-1.8.10/communicate.h
2 --- fakeroot-1.8.10.orig/communicate.h 2007-11-20 21:56:53.000000000 -0500
3 +++ fakeroot-1.8.10/communicate.h 2007-12-13 11:00:03.000000000 -0500
4 @@ -35,7 +35,9 @@
5 #endif
7 /* Then decide whether we do or do not use the stat64 support */
8 -#if (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
9 +#if (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) \
10 + || (!defined __UCLIBC__ && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))) \
11 + || (defined __UCLIBC__ && defined UCLIBC_HAS_LFS)
12 # define STAT64_SUPPORT
13 #else
14 # warning Not using stat64 support