2007-12-27 12:23:11 +01:00
|
|
|
diff -u fakeroot-1.8.10.orig/communicate.h fakeroot-1.8.10/communicate.h
|
|
|
|
--- fakeroot-1.8.10.orig/communicate.h 2007-11-20 21:56:53.000000000 -0500
|
|
|
|
+++ fakeroot-1.8.10/communicate.h 2007-12-13 11:00:03.000000000 -0500
|
2007-09-20 19:47:30 +02:00
|
|
|
@@ -35,7 +35,9 @@
|
2007-09-20 19:41:21 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Then decide whether we do or do not use the stat64 support */
|
2007-12-27 12:23:11 +01:00
|
|
|
-#if (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
|
|
|
|
+#if (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) \
|
|
|
|
+ || (!defined __UCLIBC__ && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))) \
|
|
|
|
+ || (defined __UCLIBC__ && defined UCLIBC_HAS_LFS)
|
2007-09-20 19:41:21 +02:00
|
|
|
# define STAT64_SUPPORT
|
|
|
|
#else
|
|
|
|
# warning Not using stat64 support
|