cpio: update to 2.10.

--HG--
extra : convert_revision : 61a337971c207b0442da6cb66b81d268bb1a2d70
This commit is contained in:
Juan RP 2009-08-11 00:13:24 +02:00
parent 010154c570
commit dddd1d97a4
2 changed files with 2 additions and 35 deletions

View file

@ -1,33 +0,0 @@
To make cpio build with gcc 4.3.x, patch from gobolinux.
--- lib/argp.h.orig 2007-09-25 11:04:18.000000000 +0200
+++ lib/argp.h 2007-09-25 11:06:24.000000000 +0200
@@ -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
--- lib/argp-fmtstream.h.orig 2007-09-25 11:06:49.000000000 +0200
+++ lib/argp-fmtstream.h 2007-09-25 11:07:35.000000000 +0200
@@ -198,8 +198,12 @@
#endif
#ifndef ARGP_FS_EI
+#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
__argp_fmtstream_write (argp_fmtstream_t __fs,

View file

@ -1,11 +1,11 @@
# Template file for 'cpio'
pkgname=cpio
version=2.9
version=2.10
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="GNU copy-in/out (cpio) with remote magnetic tape (rmt) support"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e58fe6654beea9dc9fbee115442c0cc3db864e061aded6af14eb34d12d6bb88e
checksum=2a2da2dbb741a75b9a374ceca46036ac3f3c3698e3756b9e3cd44edac8536ba5
long_desc="
GNU cpio is a full-featured cpio command that can access remote and
local magnetic tapes, and both tar and cpio format archives in files or