summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-20 17:47:30 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-20 17:47:30 +0000
commit77edb4f09b36822e25b996c750c0d57c4f90db3e (patch)
tree6a47259877f5dc9063e366b33d554897adce7647
parent64e0ff5cf7472279d846332d8ce91f29bc2a33a1 (diff)
- of course we also define glibc. argh!
-rw-r--r--package/fakeroot/fakeroot-uclibc-LFS.diff9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/fakeroot/fakeroot-uclibc-LFS.diff b/package/fakeroot/fakeroot-uclibc-LFS.diff
index 0908bd994..57976ca77 100644
--- a/package/fakeroot/fakeroot-uclibc-LFS.diff
+++ b/package/fakeroot/fakeroot-uclibc-LFS.diff
@@ -1,13 +1,14 @@
diff -u fakeroot-1.7.1.orig/communicate.h fakeroot-1.7.1/communicate.h
--- fakeroot-1.7.1.orig/communicate.h 2005-10-02 17:35:36.000000000 +0200
-+++ fakeroot-1.7.1/communicate.h 2007-09-20 19:36:52.000000000 +0200
-@@ -35,7 +35,8 @@
++++ fakeroot-1.7.1/communicate.h 2007-09-20 19:43:38.000000000 +0200
+@@ -35,7 +35,9 @@
#endif
/* Then decide whether we do or do not use the stat64 support */
-#if defined(sun) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
-+#if defined(sun) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) \
-+ || (defined __UCLIBC__ && defined UCLIBC_HAS_LFS)
++#if defined(sun) \
++ || (!defined __UCLIBC__ && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))) \
++ || (defined __UCLIBC__ && defined UCLIBC_HAS_LFS)
# define STAT64_SUPPORT
#else
# warning Not using stat64 support