[Lunar-commits] <moonbase> cdparanoia: add a patch needed by gcc >= 4.3.x.

Florin Braescu florin at lunar-linux.org
Wed Mar 4 16:02:10 CET 2009


commit c8c75a0d5cb1767fcd0c3d8fe017521b89bdc778
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Mar 4 17:02:10 2009 +0200

    cdparanoia: add a patch needed by gcc >= 4.3.x.
---
 cd/cdparanoia/BUILD        |   12 +++++++-----
 cd/cdparanoia/BUILD.x86_64 |   12 +++++++-----
 cd/cdparanoia/DETAILS      |   11 +++++++----
 3 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/cd/cdparanoia/BUILD b/cd/cdparanoia/BUILD
index a8bd183..1fff042 100644
--- a/cd/cdparanoia/BUILD
+++ b/cd/cdparanoia/BUILD
@@ -1,13 +1,15 @@
 
 (
   
-  mv configure.guess config.guess &&
-  mv configure.sub config.sub &&
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
 
-  sedit '/configure.\(guess\|sub\)/d' configure.in &&
+  mv configure.guess config.guess  &&
+  mv configure.sub config.sub      &&
 
-  autoconf &&
-  libtoolize &&
+  sedit '/configure.\(guess\|sub\)/d' configure.in  &&
+
+  autoconf    &&
+  libtoolize  &&
 
   default_build
 
diff --git a/cd/cdparanoia/BUILD.x86_64 b/cd/cdparanoia/BUILD.x86_64
index c3bb06e..be40eea 100644
--- a/cd/cdparanoia/BUILD.x86_64
+++ b/cd/cdparanoia/BUILD.x86_64
@@ -1,14 +1,16 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   export CFLAGS="$CFLAGS -fPIC"
 
-  mv configure.guess config.guess &&
-  mv configure.sub config.sub &&
+  mv configure.guess config.guess  &&
+  mv configure.sub config.sub      &&
 
-  sedit '/configure.\(guess\|sub\)/d' configure.in &&
+  sedit '/configure.\(guess\|sub\)/d' configure.in  &&
 
-  autoconf &&
-  libtoolize &&
+  autoconf    &&
+  libtoolize  &&
 
   default_build
 
diff --git a/cd/cdparanoia/DETAILS b/cd/cdparanoia/DETAILS
index 58576ff..033fab8 100644
--- a/cd/cdparanoia/DETAILS
+++ b/cd/cdparanoia/DETAILS
@@ -1,16 +1,19 @@
           MODULE=cdparanoia
          VERSION=III-10.2
           SOURCE=$MODULE-$VERSION.src.tgz
-      SOURCE_URL=http://downloads.xiph.org/releases/cdparanoia/
+         SOURCE2=$MODULE-$VERSION-gcc43.patch.bz2
+      SOURCE_URL=http://downloads.xiph.org/releases/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:1901e20d3a370ca6afa4c76a9ef30d3f03044320
+     SOURCE2_VFY=sha1:ffc2414434e8eb6c192624b7031263399df54ebb
         WEB_SITE=http://www.xiph.org/paranoia
          ENTERED=20010922
-         UPDATED=20081120
-           SHORT="a digital audio CD ripper"
+         UPDATED=20090304
+           SHORT="A digital audio CD ripper"
 
 cat << EOF
 Cdparanoia is a Compact Disc Digital Audio (CDDA) extraction tool, commonly
-known on the net as a 'ripper'.  Cdparanoia will read correct, rock-solid
+known on the net as a 'ripper'. Cdparanoia will read correct, rock-solid
 audio data from inexpensive drives prone to misalignment, frame jitter and
 loss of streaming during atomic reads. Cdparanoia will also read and repair
 data from CDs that have been damaged in some way.


More information about the Lunar-commits mailing list