summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-03-01 13:23:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-03-01 13:23:24 +0000
commitfd77b520cf474b92e90b14458f5a1243628d733f (patch)
tree34bcf97f048e4a6262d1d3f1bf781ac26706240d /media-libs/ladspa-sdk
parentstable x86/amd64, bug 211923 (diff)
downloadhistorical-fd77b520cf474b92e90b14458f5a1243628d733f.tar.gz
historical-fd77b520cf474b92e90b14458f5a1243628d733f.tar.bz2
historical-fd77b520cf474b92e90b14458f5a1243628d733f.zip
Fix linking of filter.so with asneeded
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-libs/ladspa-sdk')
-rw-r--r--media-libs/ladspa-sdk/ChangeLog6
-rw-r--r--media-libs/ladspa-sdk/Manifest11
-rw-r--r--media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch15
-rw-r--r--media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild3
4 files changed, 28 insertions, 7 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/Manifest b/media-libs/ladspa-sdk/Manifest
index 1c869f9c3e9c..f13958fe59ec 100644
--- a/media-libs/ladspa-sdk/Manifest
+++ b/media-libs/ladspa-sdk/Manifest
@@ -4,18 +4,19 @@ Hash: SHA1
AUX ladspa-sdk-1.12-fbsd.patch 895 RMD160 4ba94766072abe0d42186362f9cb23a45ba087e5 SHA1 92f0976ac17794be166fefb18578d83505b89ca1 SHA256 58eb6255f3e204410075052d5ca3cfa5b6da9a33d4e2435d36665a50cf7a7afb
AUX ladspa-sdk-1.12-gcc4.patch 968 RMD160 2bb125aa82309250710b47bd915718d5a96dd2ba SHA1 8587adb5149d2b895f1662bbd7ee4aa448254036 SHA256 e3048ed6944552d073a9237e6010e43477d2359b7ca98b8c39258865a005b37a
AUX ladspa-sdk-1.12-test.patch 1024 RMD160 1677dff1da06aa283444b6bc0e2abcd5f9d5ab37 SHA1 74c78072279539c77490b9041118a30b3b12c808 SHA256 9e1171587422dc9e9e0a8ef086bf74f50e7bce7eaae74ef471d09e7dbdfbaaf8
+AUX ladspa-sdk-1.13-asneeded.patch 624 RMD160 2f4cdc2f3d0a35279fec0699113cca9bbf743139 SHA1 c12f4dc88452da7c9eb27c31f26d4476399033f6 SHA256 0fc78bd4035485559147e9468427a27dcfa879cebcebfec92c7d006e9e95afd0
AUX ladspa-sdk-1.13-properbuild.patch 3020 RMD160 e9a344e42ae28bd1c25fca187b5750435fef158f SHA1 5066d6b2526e3678b7373df4b00bbb8e0a6cafd8 SHA256 a5bc7ec6643d47a8d57e4e27a5934949c55d9b1f8d2c98a60eca99ea558f24ef
DIST ladspa_sdk_1.12.tgz 71165 RMD160 7967731c28785287691655d9346cf46654f4235b SHA1 36a3a7a00f96281ca443dcae15d33f462398c4d4 SHA256 66a5be1b0c54aba86dbb24a2e5e83604d0d7a8c0645fcb64579ec2966e25689c
DIST ladspa_sdk_1.13.tgz 70540 RMD160 e9eeae8edd24a6890fac3e34c4b55f844f44f8a0 SHA1 2b69e28afb62c0d97943124f48ed82de796f83ed SHA256 b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b
EBUILD ladspa-sdk-1.12-r2.ebuild 1627 RMD160 62754fe78c5934b3edb65064fa311003333b5d6c SHA1 758baf05f33095118b440165a9eb3e15143fc53b SHA256 7536fe76b6e9f8d7c369f72135a048f835b4a6ce58c24a7d8cd3df9adc00a50c
-EBUILD ladspa-sdk-1.13-r1.ebuild 1384 RMD160 9cbb460136b3523263e2727bc9938d9ca4508bec SHA1 f37026ab41dcb706b5d2d70a878766aae19dbe57 SHA256 8b3070efada9794a8c73ced3c6cfc113369bd6b7ee90a3b7e60609fff2635509
+EBUILD ladspa-sdk-1.13-r1.ebuild 1425 RMD160 28b345f67f93792bc9e17ba6b2cd46bc5195dc6b SHA1 4f5435ba00a1d6d83f17fd26251f2cc18ff45328 SHA256 ec1e49748203ffcfe128c3769b6152608d4b001ebb63f912b07191aad1ddc770
EBUILD ladspa-sdk-1.13.ebuild 1586 RMD160 6e5e3234b09817d344084b6e8357f74340a2359e SHA1 89342308070d72dbd52e59181c99a3751a4f9c1a SHA256 ae137023b028a1dd83d5656b4ee98a13bb07dcc6b32aaee456a7e3f5d9c8d5f8
-MISC ChangeLog 5900 RMD160 3327e0cae0c526a5a3a49794866dd2e1db2e504c SHA1 1b62d92394de65be5b337022c3d176ecccd97c45 SHA256 71a5be0311e9b6f8e8c365de11dc30aed02ff1f6e6a948f2987932974c2b8835
+MISC ChangeLog 6061 RMD160 39834ccb16a2d7d9fe4347ab1cb2c62d07b19a5c SHA1 73871794f9cb59028ba66b8d1b45ab7af2aa2b46 SHA256 b0fbb2dd1bf0295eaeaec41d604eca4e64ce764ec6e49da1eb91a6816bb5debe
MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHtFUPAiZjviIA2XgRAnulAKC4Dc2JJ7eJ7j53kCc2O6afbEPhOACgpy+a
-uAmR7Qk8Bv/ieIvnjA/VMMY=
-=U0Pj
+iD8DBQFHyVjTvFcC4BYPU0oRAm3mAKDIWOG+1KaUixPtWgK+LD/Ied9nXQCfYw5b
+5K/WBpZpe8+7X/g+TkIAZzY=
+=8G8Q
-----END PGP SIGNATURE-----
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)"
}