summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/cpio/cpio-2.9-gcc43.patch
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/cpio/cpio-2.9-gcc43.patch
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/cpio/cpio-2.9-gcc43.patch')
-rw-r--r--abs/core-testing/cpio/cpio-2.9-gcc43.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core-testing/cpio/cpio-2.9-gcc43.patch b/abs/core-testing/cpio/cpio-2.9-gcc43.patch
new file mode 100644
index 0000000..da9004a
--- /dev/null
+++ b/abs/core-testing/cpio/cpio-2.9-gcc43.patch
@@ -0,0 +1,31 @@
+--- tar-1.19/lib/argp-fmtstream.h.gcc43 2007-09-28 15:11:36.000000000 +0200
++++ tar-1.19/lib/argp-fmtstream.h 2008-02-13 16:56:58.000000000 +0100
+@@ -198,7 +198,11 @@ extern int __argp_fmtstream_ensure (argp
+ #endif
+
+ #ifndef ARGP_FS_EI
+-#define ARGP_FS_EI extern inline
++# ifdef __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
+diff -up tar-1.19/lib/argp.h.gcc43 tar-1.19/lib/argp.h
+--- tar-1.19/lib/argp.h.gcc43 2007-09-28 15:11:36.000000000 +0200
++++ tar-1.19/lib/argp.h 2008-02-13 16:55:36.000000000 +0100
+@@ -580,7 +580,11 @@ extern void *__argp_input (const struct
+ # 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