summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-10-20 11:39:56 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-10-20 11:39:56 +0000
commite771210dad747450ad5ba0eeaa3e00fb3d3c8112 (patch)
tree48479db8c0eb08d3e318ba3546f1bfe1f2d884c2 /media-plugins
parentVersion bump. (diff)
downloadgentoo-2-e771210dad747450ad5ba0eeaa3e00fb3d3c8112.tar.gz
gentoo-2-e771210dad747450ad5ba0eeaa3e00fb3d3c8112.tar.bz2
gentoo-2-e771210dad747450ad5ba0eeaa3e00fb3d3c8112.zip
Fix as-needed, patch provided by Kacper Kowalik <xarthisius.kk@gmail.com>, Bug #278422.
(Portage version: 2.2_rc46/cvs/Linux i686)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-wapd/ChangeLog9
-rw-r--r--media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch16
-rw-r--r--media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild7
3 files changed, 27 insertions, 5 deletions
diff --git a/media-plugins/vdr-wapd/ChangeLog b/media-plugins/vdr-wapd/ChangeLog
index d7f57ef51a75..f22ffeffaaf1 100644
--- a/media-plugins/vdr-wapd/ChangeLog
+++ b/media-plugins/vdr-wapd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/vdr-wapd
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/ChangeLog,v 1.2 2008/04/28 08:30:31 zzam Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/ChangeLog,v 1.3 2009/10/20 11:39:56 zzam Exp $
+
+ 20 Oct 2009; Matthias Schwarzott <zzam@gentoo.org> vdr-wapd-0.9_p1.ebuild,
+ +files/vdr-wapd-0.9-as-needed.patch:
+ Fix as-needed, patch provided by Kacper Kowalik <xarthisius.kk@gmail.com>,
+ Bug #278422.
*vdr-wapd-0.9_p1 (28 Apr 2008)
diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch
new file mode 100644
index 000000000000..e31f31a3acbc
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch
@@ -0,0 +1,16 @@
+--- wapd-0.9.orig/Makefile 2008-01-16 16:29:10.000000000 +0100
++++ wapd-0.9/Makefile 2009-10-20 11:32:24.494591965 +0200
+@@ -76,11 +76,11 @@
+ all: libvdr-$(PLUGIN).so wappasswd
+
+ libvdr-$(PLUGIN).so: $(OBJS)
+- $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
++ $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
+
+ wappasswd: wappasswd.c
+- $(CXX) $(CXXFLAGS) $(LIBS) -o wappasswd wappasswd.c
++ $(CXX) $(CXXFLAGS) -o wappasswd wappasswd.c $(LIBS)
+
+ dist: clean
+ @-rm -rf $(TMPDIR)/$(ARCHIVE)
diff --git a/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild
index 2aa848f8f7fa..97a01abb06b5 100644
--- a/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild
+++ b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild,v 1.1 2008/04/28 08:30:31 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild,v 1.2 2009/10/20 11:39:56 zzam Exp $
inherit vdr-plugin
@@ -20,7 +20,8 @@ DEPEND=">=media-video/vdr-1.3.44"
PATCHES=("${FILESDIR}/${MY_P}_gcc-4.1.x.diff"
"${FILESDIR}/${MY_P}-gentoo.diff"
- "${WORKDIR}/${MY_P#vdr-}-patch1.diff")
+ "${WORKDIR}/${MY_P#vdr-}-patch1.diff"
+ "${FILESDIR}/${MY_P}-as-needed.patch")
S="${WORKDIR}/${MY_P#vdr-}"