summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-29 19:00:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-29 19:00:34 +0000
commitd61471cf94be2c7a04bd80ad071764fb1fa80f49 (patch)
treeb8dca4208b4cc11ec75b3f22734fbcf2e01ee711 /media-libs/mlt/files
parentold, cleanup (diff)
downloadhistorical-d61471cf94be2c7a04bd80ad071764fb1fa80f49.tar.gz
historical-d61471cf94be2c7a04bd80ad071764fb1fa80f49.tar.bz2
historical-d61471cf94be2c7a04bd80ad071764fb1fa80f49.zip
Fix building with -Wl,--as-needed wrt #320897 by Olivier Huber.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-libs/mlt/files')
-rw-r--r--media-libs/mlt/files/mlt-0.5.4-asneeded.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-0.5.4-asneeded.patch b/media-libs/mlt/files/mlt-0.5.4-asneeded.patch
new file mode 100644
index 000000000000..16fc73a75da8
--- /dev/null
+++ b/media-libs/mlt/files/mlt-0.5.4-asneeded.patch
@@ -0,0 +1,11 @@
+http://bugs.gentoo.org/320897
+
+--- src/swig/ruby/build
++++ src/swig/ruby/build
+@@ -7,5 +7,5 @@
+ system( "ln -sf ../mlt.i" )
+ system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" )
+ $CFLAGS += " -I../.."
+-$LDFLAGS += " -L../../mlt++ -lmlt++"
++$LDFLAGS += " -L../../mlt++ -lmlt++ -L../../framework/ -lmlt -lstdc++"
+ create_makefile('mlt')