diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-03-01 13:23:24 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-03-01 13:23:24 +0000 |
commit | fda1e3cd2722e995d990eb09f25dced73fa0d54a (patch) | |
tree | a736ac488387f59b583d3f6b7d503d7172b29b94 | |
parent | stable x86/amd64, bug 211923 (diff) | |
download | gentoo-2-fda1e3cd2722e995d990eb09f25dced73fa0d54a.tar.gz gentoo-2-fda1e3cd2722e995d990eb09f25dced73fa0d54a.tar.bz2 gentoo-2-fda1e3cd2722e995d990eb09f25dced73fa0d54a.zip |
Fix linking of filter.so with asneeded
(Portage version: 2.1.4.4)
-rw-r--r-- | media-libs/ladspa-sdk/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch | 15 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild | 3 |
3 files changed, 22 insertions, 2 deletions
diff --git a/media-libs/ladspa-sdk/ChangeLog b/media-libs/ladspa-sdk/ChangeLog index d4be5cc85bd9..15f356c9c799 100644 --- a/media-libs/ladspa-sdk/ChangeLog +++ b/media-libs/ladspa-sdk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/ladspa-sdk # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.43 2008/02/14 14:49:46 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.44 2008/03/01 13:23:23 aballier Exp $ + + 01 Mar 2008; Alexis Ballier <aballier@gentoo.org> + +files/ladspa-sdk-1.13-asneeded.patch, ladspa-sdk-1.13-r1.ebuild: + Fix linking of filter.so with asneeded *ladspa-sdk-1.13-r1 (14 Feb 2008) diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch new file mode 100644 index 000000000000..19e3811b0707 --- /dev/null +++ b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch @@ -0,0 +1,15 @@ +Index: ladspa_sdk/src/makefile +=================================================================== +--- ladspa_sdk.orig/src/makefile ++++ ladspa_sdk/src/makefile +@@ -36,6 +36,10 @@ MKDIR_P = mkdirhier + # RULES TO BUILD PLUGINS FROM C OR C++ CODE + # + ++../plugins/filter.so: plugins/filter.c ladspa.h ++ $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/filter.o -c plugins/filter.c ++ $(LD) $(RAW_LDFLAGS) -o ../plugins/filter.so plugins/filter.o -shared -lm ++ + ../plugins/%.so: plugins/%.c ladspa.h + $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c + $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild index 08b77101ae59..3dc526a9a8b5 100644 --- a/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild +++ b/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.1 2008/02/14 14:49:46 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.2 2008/03/01 13:23:23 aballier Exp $ inherit eutils toolchain-funcs portability flag-o-matic @@ -24,6 +24,7 @@ S="${WORKDIR}/${MY_PN}/src" src_unpack() { unpack ${A} epatch "${FILESDIR}/${P}-properbuild.patch" + epatch "${FILESDIR}/${P}-asneeded.patch" sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \ "${S}/makefile" || die "sed makefile failed (sound playing tests)" } |