cpio: update to 2.10

This commit is contained in:
Juergen Daubert 2009-06-22 10:36:23 +02:00
parent 50765f6829
commit ed596cf5f8
3 changed files with 4 additions and 40 deletions

View File

@ -1,2 +1 @@
c84cc915f9b6070077f36aa2ecefaa6f cpio-2.9-gcc43-inline.patch
e387abfdae3a0b9a8a5f762db653a96d cpio-2.9.tar.bz2
edd8d956a5dfb9a3b308fa07f302f691 cpio-2.10.tar.bz2

View File

@ -3,17 +3,14 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=cpio
version=2.9
release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2
cpio-2.9-gcc43-inline.patch)
version=2.10
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
patch -p0 -i $SRC/cpio-2.9-gcc43-inline.patch
./configure --prefix=/usr \
--mandir=/usr/man \
--with-rmt=/usr/lib/tar/rmt \
--disable-nls
make
make DESTDIR=$PKG install

View File

@ -1,32 +0,0 @@
http://lists.gnu.org/archive/html/bug-cpio/2007-09/msg00002.html
--- 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,