2008-03-11 20:31:44 +01:00
|
|
|
diff -urN fakeroot-1.9.3.orig/communicate.h fakeroot-1.9.3/communicate.h
|
|
|
|
--- fakeroot-1.9.3.orig/communicate.h 2008-03-11 09:42:05.000000000 -0400
|
|
|
|
+++ fakeroot-1.9.3/communicate.h 2008-03-11 10:58:10.000000000 -0400
|
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)) \
|
2008-03-11 20:31:44 +01:00
|
|
|
+ || (!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
|
2008-03-11 20:31:44 +01:00
|
|
|
# warning Not using stat64 support
|