patch-rpmio_fts_c 466 B

123456789101112
  1. --- rpm-4.7.0.orig/rpmio/fts.c 2009-03-03 07:51:52.000000000 +0100
  2. +++ rpm-4.7.0/rpmio/fts.c 2009-06-25 20:23:10.374967519 +0200
  3. @@ -64,6 +64,9 @@ static char sccsid[] = "@(#)fts.c 8.6 (B
  4. #include "rpmio/fts.h"
  5. #include <rpm/rpmio.h>
  6. #include <rpm/rpmurl.h>
  7. +#ifdef __UCLIBC__
  8. +# define __fxstat64(_stat_ver, _fd, _sbp) fstat64((_fd), (_sbp))
  9. +#endif
  10. # define __set_errno(val) (*__errno_location ()) = (val)
  11. # define __open open
  12. # define __close close