summaryrefslogtreecommitdiff
path: root/debian/patches/eglibc-fts-without-LFS
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-25 16:44:37 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-25 16:44:37 +0300
commit4927b084a932e2445e9626e2e4e5a558aee59518 (patch)
treee8bb9406e1964639328ffab1be254eee4a88e468 /debian/patches/eglibc-fts-without-LFS
downloadfakeroot-debian.tar.gz
Import fakeroot (1.24-1)debian/1.24-1debian
Diffstat (limited to 'debian/patches/eglibc-fts-without-LFS')
-rw-r--r--debian/patches/eglibc-fts-without-LFS26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/eglibc-fts-without-LFS b/debian/patches/eglibc-fts-without-LFS
new file mode 100644
index 0000000..5ba45fd
--- /dev/null
+++ b/debian/patches/eglibc-fts-without-LFS
@@ -0,0 +1,26 @@
+--- a/libfakeroot.c
++++ b/libfakeroot.c
+@@ -1949,11 +1949,7 @@
+ || r->fts_info == FTS_NS || r->fts_info == FTS_NSOK))
+ r->fts_statp = NULL; /* Otherwise fts_statp may be a random pointer */
+ if(r && r->fts_statp) { /* Should we bother checking fts_info here? */
+-# if defined(STAT64_SUPPORT) && !defined(__APPLE__)
+- SEND_GET_STAT64(r->fts_statp, _STAT_VER);
+-# else
+ SEND_GET_STAT(r->fts_statp, _STAT_VER);
+-# endif
+ }
+
+ return r;
+@@ -1972,11 +1968,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__)
+- SEND_GET_STAT64(r->fts_statp, _STAT_VER);
+-# else
+ SEND_GET_STAT(r->fts_statp, _STAT_VER);
+-# endif
+ }
+ }
+