summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-08-28 20:08:46 +0000
committerSamuli Suominen <drac@gentoo.org>2007-08-28 20:08:46 +0000
commit6b2836d497555a229a9685c8da0154adf9710b02 (patch)
tree1e80c7b052fa2468772c7a8979cbf579cbb8c9c4 /app-cdr
parentStable on amd64 wrt security bug #188863 (diff)
downloadgentoo-2-6b2836d497555a229a9685c8da0154adf9710b02.tar.gz
gentoo-2-6b2836d497555a229a9685c8da0154adf9710b02.tar.bz2
gentoo-2-6b2836d497555a229a9685c8da0154adf9710b02.zip
Fix building with -Wl,--as-needed, bug 190180.
(Portage version: 2.1.3.7)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdrtools/ChangeLog7
-rw-r--r--app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild3
-rw-r--r--app-cdr/cdrtools/files/cdrtools-2.01.01_alpha34-asneeded.patch36
3 files changed, 44 insertions, 2 deletions
diff --git a/app-cdr/cdrtools/ChangeLog b/app-cdr/cdrtools/ChangeLog
index ee0be5d540cc..6bc173ae5259 100644
--- a/app-cdr/cdrtools/ChangeLog
+++ b/app-cdr/cdrtools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-cdr/cdrtools
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.184 2007/08/24 19:10:26 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.185 2007/08/28 20:08:46 drac Exp $
+
+ 28 Aug 2007; Samuli Suominen <drac@gentoo.org>
+ +files/cdrtools-2.01.01_alpha34-asneeded.patch,
+ cdrtools-2.01.01_alpha34.ebuild:
+ Fix building with -Wl,--as-needed, bug 190180.
*cdrtools-2.01.01_alpha34 (24 Aug 2007)
diff --git a/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild b/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild
index 8aede229fd3f..7b2571f85366 100644
--- a/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild
+++ b/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild,v 1.1 2007/08/24 19:10:26 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild,v 1.2 2007/08/28 20:08:46 drac Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -26,6 +26,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.01.01a03-warnings.patch
+ epatch "${FILESDIR}"/${P}-asneeded.patch
# ppc-macos support
cd "${S}"/DEFAULTS
diff --git a/app-cdr/cdrtools/files/cdrtools-2.01.01_alpha34-asneeded.patch b/app-cdr/cdrtools/files/cdrtools-2.01.01_alpha34-asneeded.patch
new file mode 100644
index 000000000000..90fb1664ebaa
--- /dev/null
+++ b/app-cdr/cdrtools/files/cdrtools-2.01.01_alpha34-asneeded.patch
@@ -0,0 +1,36 @@
+diff -ur cdrtools-2.01.01.orig/libfind/libfind.mk cdrtools-2.01.01/libfind/libfind.mk
+--- cdrtools-2.01.01.orig/libfind/libfind.mk 2007-02-04 01:00:05.000000000 +0200
++++ cdrtools-2.01.01/libfind/libfind.mk 2007-08-28 22:33:25.000000000 +0300
+@@ -20,7 +20,7 @@
+ CPPOPTS += -DSCHILY_PRINT
+
+ include Targets
+-LIBS=
++LIBS= $(LIB_ACL)
+
+ ###########################################################################
+ include $(SRCROOT)/$(RULESDIR)/rules.lib
+diff -ur cdrtools-2.01.01.orig/libfind/libfind_p.mk cdrtools-2.01.01/libfind/libfind_p.mk
+--- cdrtools-2.01.01.orig/libfind/libfind_p.mk 2007-06-30 14:13:34.000000000 +0300
++++ cdrtools-2.01.01/libfind/libfind_p.mk 2007-08-28 22:34:04.000000000 +0300
+@@ -22,7 +22,7 @@
+ CPPOPTS += -DSCHILY_PRINT
+
+ include Targets
+-LIBS=
++LIBS= $(LIB_ACL)
+
+ ###########################################################################
+ include $(SRCROOT)/$(RULESDIR)/rules.lib
+diff -ur cdrtools-2.01.01.orig/libfind/shlfind.mk cdrtools-2.01.01/libfind/shlfind.mk
+--- cdrtools-2.01.01.orig/libfind/shlfind.mk 2007-02-04 01:00:05.000000000 +0200
++++ cdrtools-2.01.01/libfind/shlfind.mk 2007-08-28 22:45:14.000000000 +0300
+@@ -21,7 +21,7 @@
+ CPPOPTS += -DSCHILY_PRINT
+
+ include Targets
+-LIBS= -lschily -lc
++LIBS= -lschily -lc $(LIB_ACL)
+
+ ###########################################################################
+ include $(SRCROOT)/$(RULESDIR)/rules.shl