summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/vdr-cdda/ChangeLog6
-rw-r--r--media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-linking-order.diff12
-rw-r--r--media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild7
3 files changed, 22 insertions, 3 deletions
diff --git a/media-plugins/vdr-cdda/ChangeLog b/media-plugins/vdr-cdda/ChangeLog
index ebb11d3febbf..4694d84e5d3e 100644
--- a/media-plugins/vdr-cdda/ChangeLog
+++ b/media-plugins/vdr-cdda/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-cdda
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdda/ChangeLog,v 1.6 2006/08/02 19:20:45 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdda/ChangeLog,v 1.7 2006/10/31 18:33:47 zzam Exp $
+
+ 31 Oct 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-cdda-0.1.0-linking-order.diff, vdr-cdda-0.1.0-r1.ebuild:
+ Make plugin also link with as-needed and similar flags.
02 Aug 2006; Matthias Schwarzott <zzam@gentoo.org> metadata.xml:
Assigned package to VDR-Project.
diff --git a/media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-linking-order.diff b/media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-linking-order.diff
new file mode 100644
index 000000000000..f89710135467
--- /dev/null
+++ b/media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-linking-order.diff
@@ -0,0 +1,12 @@
+diff -ru cdda-0.1.0-orig/Makefile cdda-0.1.0/Makefile
+--- cdda-0.1.0-orig/Makefile 2006-10-31 19:16:00.253083425 +0100
++++ cdda-0.1.0/Makefile 2006-10-31 19:16:17.497298258 +0100
+@@ -78,7 +78,7 @@
+ all: libvdr-$(PLUGIN).so
+
+ libvdr-$(PLUGIN).so: $(OBJS)
+- $(CXX) $(CXXFLAGS) -shared $(LIBS) $(OBJS) -o $@
++ $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
+ @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+
+ dist: clean
diff --git a/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild b/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild
index 19b4de3d0eba..c0f25ee85055 100644
--- a/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild
+++ b/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.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-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild,v 1.1 2006/04/12 20:12:58 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild,v 1.2 2006/10/31 18:33:47 zzam Exp $
inherit vdr-plugin
@@ -16,7 +16,10 @@ IUSE=""
DEPEND=">=media-video/vdr-1.3.22
>=dev-libs/libcdio-0.75
"
+RDEPEND="${DEPEND}"
-PATCHES="${FILESDIR}/${P}.patch ${FILESDIR}/${P}-cdspeed.diff"
+PATCHES="${FILESDIR}/${P}.patch
+ ${FILESDIR}/${P}-cdspeed.diff
+ ${FILESDIR}/${P}-linking-order.diff"