Package: tar
Version: 1.19-1
Severity: normal
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
- Fix build failures with gcc-4.3 in lib/argp{-fmstream}.h
We thought you might be interested in doing the same.
Cheers,
Michael
-- System Information:
Debian Release: lenny/sid
APT prefers gutsy-updates
APT policy: (500, 'gutsy-updates'), (500, 'gutsy')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
--- tar-1.19.orig/lib/argp-fmtstream.h
+++ tar-1.19/lib/argp-fmtstream.h
@@ -198,7 +198,11 @@
#endif
#ifndef ARGP_FS_EI
-#define ARGP_FS_EI extern inline
+ #if defined __GNUC_STDC_INLINE__
+ #define ARGP_FS_EI extern inline __attribute__((__gnu_inline__))
+ #else
+ #define ARGP_FS_EI extern inline
+ #endif
#endif
ARGP_FS_EI size_t
only in patch2:
unchanged:
--- tar-1.19.orig/lib/argp.h
+++ tar-1.19/lib/argp.h
@@ -580,7 +580,11 @@
# endif
# ifndef ARGP_EI
-# define ARGP_EI extern __inline__
+# if defined __GNUC_STDC_INLINE__
+# define ARGP_EI extern __inline__ __attribute__((__gnu_inline__))
+# else
+# define ARGP_EI extern __inline__
+# endif
# endif
ARGP_EI void