[SCM] fil-plugins/master: Add patch to pass LDFLAGS.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Thu Jun 11 00:05:40 UTC 2015


The following commit has been merged in the master branch:
commit 26a1da5f1b405e833e1f2fe2255b9f01504a8299
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Jun 11 01:56:22 2015 +0200

    Add patch to pass LDFLAGS.

diff --git a/debian/patches/02-pass_ldflags.patch b/debian/patches/02-pass_ldflags.patch
new file mode 100644
index 0000000..c32f679
--- /dev/null
+++ b/debian/patches/02-pass_ldflags.patch
@@ -0,0 +1,17 @@
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Description: Pass LDFLAGS
+Forwarded: no
+
+Index: fil-plugins/Makefile
+===================================================================
+--- fil-plugins.orig/Makefile
++++ fil-plugins/Makefile
+@@ -23,7 +23,7 @@ all:	filters.so
+ 
+ 
+ filters.so:	filters.o filters_if.o exp2ap.o
+-	g++ -shared filters.o filters_if.o exp2ap.o -o filters.so
++	g++ $(LDFLAGS) -shared filters.o filters_if.o exp2ap.o -o filters.so
+ 
+ filters.o:	ladspaplugin.h filters.h
+ filters_if.o:	ladspaplugin.h filters.h
diff --git a/debian/patches/series b/debian/patches/series
index aebdbc4..493eca0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-destdir.patch
+02-pass_ldflags.patch

-- 
fil-plugins packaging



More information about the pkg-multimedia-commits mailing list