summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-05 20:52:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-05 20:52:50 +0000
commit93fe3e42d3793a42a49e2044982ca6476013d889 (patch)
tree50cecbef338376a676cecf1493b205a5579e93f0 /media-sound
parentA user and group account administration library (diff)
downloadgentoo-2-93fe3e42d3793a42a49e2044982ca6476013d889.tar.gz
gentoo-2-93fe3e42d3793a42a49e2044982ca6476013d889.tar.bz2
gentoo-2-93fe3e42d3793a42a49e2044982ca6476013d889.zip
Let's extract for non-Linux 2.6 systems.
(Portage version: 2.1.1_rc1-r4)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/cdparanoia/ChangeLog7
-rw-r--r--media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild9
-rw-r--r--media-sound/cdparanoia/files/cdparanoia-3.9.8-parallel-fpic-fbsd.patch79
3 files changed, 90 insertions, 5 deletions
diff --git a/media-sound/cdparanoia/ChangeLog b/media-sound/cdparanoia/ChangeLog
index 91978fac78a8..afa6fc67c6e6 100644
--- a/media-sound/cdparanoia/ChangeLog
+++ b/media-sound/cdparanoia/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/cdparanoia
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/ChangeLog,v 1.45 2006/09/04 05:12:50 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/ChangeLog,v 1.46 2006/09/05 20:52:50 flameeyes Exp $
+
+ 05 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/cdparanoia-3.9.8-parallel-fpic-fbsd.patch,
+ cdparanoia-3.9.8-r4.ebuild:
+ Let's extract for non-Linux 2.6 systems.
04 Sep 2006; Joshua Kinard <kumba@gentoo.org> cdparanoia-3.9.8-r3.ebuild:
Marked stable on mips.
diff --git a/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild b/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild
index cdee2a053c99..c733c34bb15a 100644
--- a/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild
+++ b/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild,v 1.4 2006/06/16 21:26:01 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild,v 1.5 2006/09/05 20:52:50 flameeyes Exp $
inherit eutils flag-o-matic linux-info libtool toolchain-funcs
@@ -41,17 +41,18 @@ src_unpack() {
if use kernel_linux && kernel_is ge 2 6 15; then
EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" epatch
epatch "${FILESDIR}/${P}-respectflags-sgio.patch"
+ # Fix makefiles for parallel make
+ epatch "${FILESDIR}/${P}-parallel-fpic.patch"
else
epatch "${FILESDIR}/${P}-respectflags-pio.patch"
epatch "${DISTDIR}/${P}-fbsd.patch.bz2"
+ # Fix makefiles for parallel make
+ epatch "${FILESDIR}/${P}-parallel-fpic-fbsd.patch"
fi
# Use directly the same exact patch as flex as it works
epatch "${FILESDIR}/flex-configure-LANG.patch"
- # Fix makefiles for parallel make
- epatch "${FILESDIR}/${P}-parallel-fpic.patch"
-
# Let portage handle the stripping of binaries
sed -i -e "/strip cdparanoia/d" Makefile.in
diff --git a/media-sound/cdparanoia/files/cdparanoia-3.9.8-parallel-fpic-fbsd.patch b/media-sound/cdparanoia/files/cdparanoia-3.9.8-parallel-fpic-fbsd.patch
new file mode 100644
index 000000000000..96ed642eb965
--- /dev/null
+++ b/media-sound/cdparanoia/files/cdparanoia-3.9.8-parallel-fpic-fbsd.patch
@@ -0,0 +1,79 @@
+diff -ur cdparanoia-III-alpha9.8.orig/interface/Makefile.in cdparanoia-III-alpha9.8/interface/Makefile.in
+--- cdparanoia-III-alpha9.8.orig/interface/Makefile.in 2006-06-12 16:31:46.000000000 -0400
++++ cdparanoia-III-alpha9.8/interface/Makefile.in 2006-06-12 16:32:55.000000000 -0400
+@@ -10,6 +10,7 @@
+ FLAGS=@SBPCD_H@ @UCDROM_H@ @TYPESIZES@ @CFLAGS@
+ OPT=@OPT@ $(FLAGS)
+ DEBUG=@DEBUG@ $(FLAGS) -DCDDA_TEST
++LIBFLAGS=-fPIC
+ CC=@CC@
+ LD=@CC@
+ LDFLAGS=@LDFLAGS@ $(FLAGS)
+@@ -18,7 +19,7 @@
+ LIBS = -lm
+ CPPFLAGS+=-D_REENTRANT
+
+-OFILES = scan_devices.o common_interface.o cooked_interface.o interface.o\
++OFILES = scan_devices.o common_interface.o cooked_interface.o interface.o \
+ scsi_interface.o smallft.o toc.o test_interface.o
+
+ export VERSION
+@@ -33,7 +34,7 @@
+
+ slib:
+ $(MAKE) lessmessy
+- $(MAKE) libcdda_interface.so CFLAGS="$(OPT) -fpic"
++ $(MAKE) libcdda_interface.so CFLAGS="$(OPT)"
+ [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so libcdda_interface.so.0
+
+ test:
+@@ -46,12 +47,12 @@
+ $(RANLIB) libcdda_interface.a
+
+ libcdda_interface.so: $(OFILES)
+- $(CC) $(LDFLAGS) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
++ $(CC) $(LDFLAGS) $(LIBFLAGS) -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
+ [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0
+ [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so
+
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CFLAGS) $(LIBFLAGS) -c $<
+
+ lessmessy:
+ -rm -f *.o core *~ *.out
+diff -ur cdparanoia-III-alpha9.8.orig/paranoia/Makefile.in cdparanoia-III-alpha9.8/paranoia/Makefile.in
+--- cdparanoia-III-alpha9.8.orig/paranoia/Makefile.in 2006-06-12 16:31:46.000000000 -0400
++++ cdparanoia-III-alpha9.8/paranoia/Makefile.in 2006-06-12 16:33:36.000000000 -0400
+@@ -11,6 +11,7 @@
+ FLAGS=@TYPESIZES@ @CFLAGS@
+ OPT=@OPT@ $(FLAGS)
+ DEBUG=@DEBUG@ $(FLAGS)
++LIBFLAGS=-fPIC
+ CC=@CC@
+ LD=@CC@
+ LDFLAGS=@LDFLAGS@ $(FLAGS)
+@@ -34,7 +35,7 @@
+
+ slib:
+ $(MAKE) lessmessy
+- $(MAKE) libcdda_paranoia.so CFLAGS="$(OPT) -fpic"
++ $(MAKE) libcdda_paranoia.so CFLAGS="$(OPT)"
+
+ #test: $(TFILES)
+ #
+@@ -44,12 +45,12 @@
+ $(RANLIB) libcdda_paranoia.a
+
+ libcdda_paranoia.so: $(OFILES)
+- $(CC) $(LDFLAGS) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES)
++ $(CC) $(LDFLAGS) $(LIBFLAGS) -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES)
+ [ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0
+ [ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so
+
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CFLAGS) $(LIBFLAGS) -c $<
+
+ .c.t:
+ $(CC) -g -DTEST $(DEBUG) -o $@ $< $(LIBS)