summaryrefslogtreecommitdiffstats
path: root/main/fakeroot/fakeroot-uclibc.patch
blob: 63708092d5044c6f1bd8a84ee9587275bb3cc624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- fakeroot-1.18.2.orig/libfakeroot.c
+++ fakeroot-1.18.2/libfakeroot.c
@@ -1551,7 +1551,7 @@
 #endif /* LIBFAKEROOT_DEBUGGING */
   r=next_fts_read(ftsp);
   if(r && r->fts_statp) {  /* Should we bother checking fts_info here? */
-# if defined(STAT64_SUPPORT) && !defined(__APPLE__)
+# if defined(STAT64_SUPPORT) && !defined(__APPLE__) && !defined(__UCLIBC__)
     SEND_GET_STAT64(r->fts_statp, _STAT_VER);
 # else
     SEND_GET_STAT(r->fts_statp, _STAT_VER);
@@ -1574,7 +1574,7 @@
   first=next_fts_children(ftsp, options);
   for(r = first; r; r = r->fts_link) {
     if(r && r->fts_statp) {  /* Should we bother checking fts_info here? */
-# if defined(STAT64_SUPPORT) && !defined(__APPLE__)
+# if defined(STAT64_SUPPORT) && !defined(__APPLE__) && !defined(__UCLIBC__)
       SEND_GET_STAT64(r->fts_statp, _STAT_VER);
 # else
       SEND_GET_STAT(r->fts_statp, _STAT_VER);