CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
cpio: update to 2.11
authorVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:27:22 +0000 (07:27 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:27:22 +0000 (07:27 +0000)
cpio/.md5sum
cpio/Pkgfile
cpio/cpio-2.11-stat.patch [new file with mode: 0644]

index 4c41c36b71ab428af79ad9068c0a9205b09a152d..181098d400836caf54850ff51eccb1e241486e7e 100644 (file)
@@ -1 +1,2 @@
-edd8d956a5dfb9a3b308fa07f302f691  cpio-2.10.tar.bz2
+0548bdca8399df7755f0e4c4152e88cb  cpio-2.11-stat.patch
+20fc912915c629e809f80b96b2e75d7d  cpio-2.11.tar.bz2
index b63369921b19c81f10d86e43176a95527b9bcf97..c4aa11001eb83ca58c55e054be3698579f3bbe23 100644 (file)
@@ -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 (file)
index 0000000..c6d99cf
--- /dev/null
@@ -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