mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
862 B

  1. see http://lists.gnu.org/archive/html/bug-cpio/2007-09/msg00002.html
  2. --- ./lib/argp.h.orig 2007-09-25 11:04:18.000000000 +0200
  3. +++ ./lib/argp.h 2007-09-25 11:06:24.000000000 +0200
  4. @@ -580,7 +580,11 @@
  5. # endif
  6. # ifndef ARGP_EI
  7. -# define ARGP_EI extern __inline__
  8. +# if defined __GNUC_STDC_INLINE__
  9. +# define ARGP_EI extern __inline__ __attribute__((__gnu_inline__))
  10. +# else
  11. +# define ARGP_EI extern __inline__
  12. +# endif
  13. # endif
  14. ARGP_EI void
  15. --- ./lib/argp-fmtstream.h.orig 2007-09-25 11:06:49.000000000 +0200
  16. +++ ./lib/argp-fmtstream.h 2007-09-25 11:07:35.000000000 +0200
  17. @@ -198,8 +198,12 @@
  18. #endif
  19. #ifndef ARGP_FS_EI
  20. +#ifdef __GNUC_STDC_INLINE__
  21. +#define ARGP_FS_EI extern inline __attribute__((__gnu_inline__))
  22. +#else
  23. #define ARGP_FS_EI extern inline
  24. #endif
  25. +#endif
  26. ARGP_FS_EI size_t
  27. __argp_fmtstream_write (argp_fmtstream_t __fs,