summaryrefslogtreecommitdiff
path: root/package/rpm/patches/patch-rpmio_fts_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/rpm/patches/patch-rpmio_fts_c')
-rw-r--r--package/rpm/patches/patch-rpmio_fts_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/rpm/patches/patch-rpmio_fts_c b/package/rpm/patches/patch-rpmio_fts_c
new file mode 100644
index 000000000..90bed89de
--- /dev/null
+++ b/package/rpm/patches/patch-rpmio_fts_c
@@ -0,0 +1,12 @@
+--- rpm-4.7.0.orig/rpmio/fts.c 2009-03-03 07:51:52.000000000 +0100
++++ rpm-4.7.0/rpmio/fts.c 2009-06-25 20:23:10.374967519 +0200
+@@ -64,6 +64,9 @@ static char sccsid[] = "@(#)fts.c 8.6 (B
+ #include "rpmio/fts.h"
+ #include <rpm/rpmio.h>
+ #include <rpm/rpmurl.h>
++#ifdef __UCLIBC__
++# define __fxstat64(_stat_ver, _fd, _sbp) fstat64((_fd), (_sbp))
++#endif
+ # define __set_errno(val) (*__errno_location ()) = (val)
+ # define __open open
+ # define __close close