aboutsummaryrefslogtreecommitdiffstats
path: root/main/fakeroot/fakeroot-uclibc.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-10 08:57:13 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-10 08:57:13 +0200
commit49b10969569bb6d1e4332e91bf07c9ce7616fd76 (patch)
treef9ddb219a11633a97bd7cd869625c8f37d1769ae /main/fakeroot/fakeroot-uclibc.patch
parent0c902c0dc61e518d2ec2f0a0de3b636b91a3f44e (diff)
downloadaports-49b10969569bb6d1e4332e91bf07c9ce7616fd76.tar.bz2
aports-49b10969569bb6d1e4332e91bf07c9ce7616fd76.tar.xz
main/fakeroot: fix compilation warnings
Hopefully also fixes the issues we are seeing on 64-bit platforms.
Diffstat (limited to 'main/fakeroot/fakeroot-uclibc.patch')
-rw-r--r--main/fakeroot/fakeroot-uclibc.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/fakeroot/fakeroot-uclibc.patch b/main/fakeroot/fakeroot-uclibc.patch
new file mode 100644
index 0000000000..63708092d5
--- /dev/null
+++ b/main/fakeroot/fakeroot-uclibc.patch
@@ -0,0 +1,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);