[Lunar-commits] <moonbase> cpio: add a patch to compile with gcc 4.3.3.

Florin Braescu florin at lunar-linux.org
Sun Apr 5 18:18:40 CEST 2009


commit 5f0dc8a7a0b39e8d9d7c698a193016b24d90ab73
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Apr 5 19:18:40 2009 +0300

    cpio: add a patch to compile with gcc 4.3.3.
---
 archive/cpio/BUILD   |    7 ++++---
 archive/cpio/DETAILS |    9 ++++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/archive/cpio/BUILD b/archive/cpio/BUILD
index 604d4c0..e35526c 100644
--- a/archive/cpio/BUILD
+++ b/archive/cpio/BUILD
@@ -1,13 +1,14 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
   default_config  &&
   if module_installed mt-st ; then
-    sedit 's/install:: installdirs all/install:: installdirs/' Makefile &&
+    sedit 's/install:: installdirs all/install:: installdirs/' Makefile  &&
     make cpio rmt
   else
     make
-  fi              &&
-  prepare_install &&
+  fi               &&
+  prepare_install  &&
   make install
   
 ) > $C_FIFO 2>&1
diff --git a/archive/cpio/DETAILS b/archive/cpio/DETAILS
index 31a7357..b03afe9 100644
--- a/archive/cpio/DETAILS
+++ b/archive/cpio/DETAILS
@@ -1,12 +1,15 @@
           MODULE=cpio
          VERSION=2.9
           SOURCE=$MODULE-$VERSION.tar.bz2
-   SOURCE_URL[0]=$GNU_URL/$MODULE/
-   SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE/
+         SOURCE2=$MODULE-$VERSION-gcc-4.3.x.patch.bz2
+   SOURCE_URL[0]=$GNU_URL/$MODULE
+   SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:ef381d0f33f1ea74475b6d813c42a74327762c4a
+     SOURCE2_VFY=sha1:d56443ff6340ae438b9255c49b35fbf9d95b954d
         WEB_SITE=http://www.gnu.org/software/cpio/cpio.html
          ENTERED=20011004
-         UPDATED=20070713
+         UPDATED=20090405
            SHORT="cpio creates cpio archives and have rmt"
 
 cat << EOF


More information about the Lunar-commits mailing list