From 7d238b281f28024e09c4bab69a1b81137b99c195 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 15 Mar 2011 07:27:22 +0000 Subject: [PATCH] cpio: update to 2.11 --- cpio/.md5sum | 3 ++- cpio/Pkgfile | 6 ++++-- cpio/cpio-2.11-stat.patch | 9 +++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 cpio/cpio-2.11-stat.patch diff --git a/cpio/.md5sum b/cpio/.md5sum index 4c41c36..181098d 100644 --- a/cpio/.md5sum +++ b/cpio/.md5sum @@ -1 +1,2 @@ -edd8d956a5dfb9a3b308fa07f302f691 cpio-2.10.tar.bz2 +0548bdca8399df7755f0e4c4152e88cb cpio-2.11-stat.patch +20fc912915c629e809f80b96b2e75d7d cpio-2.11.tar.bz2 diff --git a/cpio/Pkgfile b/cpio/Pkgfile index b633699..c4aa110 100644 --- a/cpio/Pkgfile +++ b/cpio/Pkgfile @@ -4,12 +4,14 @@ # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu name=cpio -version=2.10 +version=2.11 release=1 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \ + cpio-2.11-stat.patch) build() { cd $name-$version + patch -p1 -i $SRC/cpio-2.11-stat.patch ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ diff --git a/cpio/cpio-2.11-stat.patch b/cpio/cpio-2.11-stat.patch new file mode 100644 index 0000000..c6d99cf --- /dev/null +++ b/cpio/cpio-2.11-stat.patch @@ -0,0 +1,9 @@ +--- a/src/filetypes.h ++++ b/src/filetypes.h +@@ -82,4 +82,6 @@ + #define lstat stat + #endif + int lstat (); ++#ifndef stat + int stat (); ++#endif -- 2.26.2