diff options
author | Nigel Kukard <nkukard@lbsd.net> | 2008-04-14 10:56:41 +0000 |
---|---|---|
committer | Nigel Kukard <nkukard@lbsd.net> | 2008-04-14 10:56:41 +0000 |
commit | 6fd44d68ede5079f3d6d4feeec209ff92c8a883c (patch) | |
tree | f6e8fd6b29e974e750eab82314d567fc54eb3451 /package/rpm/rpm-uclibc-ifdefs.patch | |
parent | e9d3884e01f3a1e67717ee773424bd8133f8556e (diff) | |
download | buildroot-novena-6fd44d68ede5079f3d6d4feeec209ff92c8a883c.tar.gz buildroot-novena-6fd44d68ede5079f3d6d4feeec209ff92c8a883c.zip |
* Added rpm
Diffstat (limited to 'package/rpm/rpm-uclibc-ifdefs.patch')
-rw-r--r-- | package/rpm/rpm-uclibc-ifdefs.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/rpm/rpm-uclibc-ifdefs.patch b/package/rpm/rpm-uclibc-ifdefs.patch new file mode 100644 index 000000000..11cf2cd89 --- /dev/null +++ b/package/rpm/rpm-uclibc-ifdefs.patch @@ -0,0 +1,13 @@ +diff -ur rpm-4.4.9_vanilla/rpmio/fts.c rpm-4.4.9_uclibc-ifdefs/rpmio/fts.c +--- rpm-4.4.9_vanilla/rpmio/fts.c 2007-01-21 15:18:00.000000000 +0000 ++++ rpm-4.4.9_uclibc-ifdefs/rpmio/fts.c 2008-03-22 13:26:40.000000000 +0000 +@@ -45,6 +47,9 @@ + #include <string.h> + #include <unistd.h> + #else ++#if defined(__UCLIBC__) ++# define __fxstat64(_stat_ver, _fd, _sbp) fstat((_fd), (_sbp)) ++#endif + #if defined(hpux) || defined(__hpux) + # define _INCLUDE_POSIX_SOURCE + # define __errno_location() (&errno) |