瀏覽代碼

- add candidate-patch to make fakeroot UCLIBC_HAS_LFS aware

Bernhard Reutner-Fischer 18 年之前
父節點
當前提交
64e0ff5cf7
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      package/fakeroot/fakeroot-uclibc-LFS.diff

+ 13 - 0
package/fakeroot/fakeroot-uclibc-LFS.diff

@@ -0,0 +1,13 @@
+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 @@
+ #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)
+ # define STAT64_SUPPORT
+ #else
+ # warning Not using stat64 support