summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-16 10:59:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-16 10:59:55 +0100
commit2932e7a1e56f7be1a2ef7c7001789b489beb7619 (patch)
tree8d3c4c98be88f049ac4ac4cc52fb617eb8e74ed4
parenta6fcc2cda9da5b671163acb2de0044ab80c3da0e (diff)
media-libs/mlt : add missing patch
-rw-r--r--media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch b/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch
new file mode 100644
index 00000000..e84e98c1
--- /dev/null
+++ b/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch
@@ -0,0 +1,12 @@
+diff --git a/src/swig/ruby/build b/src/swig/ruby/build
+index 2d0cc0d..1a8aee7 100755
+--- a/src/swig/ruby/build
++++ b/src/swig/ruby/build
+@@ -8,6 +8,6 @@ system( "ln -sf ../mlt.i" )
+ system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" )
+ $CFLAGS = $CFLAGS.to_s + " -I../.. " + (ENV.has_key?('CXXFLAGS')? ENV['CXXFLAGS'] : '')
+ $CXXFLAGS = $CXXFLAGS.to_s + " -I../.. " + (ENV.has_key?('CXXFLAGS')? ENV['CXXFLAGS'] : '')
+-$LDFLAGS = $LDFLAGS.to_s + " -L../../mlt++ -lmlt++"
++$LDFLAGS = $LDFLAGS.to_s + " -L../../mlt++ -lmlt++ -L../../framework -lmlt"
+ create_makefile('mlt')
+ system( "make V=1" )