[SCM] vco-plugins/master: Add patch passing ldflags.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sun Jun 14 14:50:56 UTC 2015
The following commit has been merged in the master branch:
commit 49445f19f3e2ccd1a34c50e862855297d81da50d
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sun Jun 14 16:50:03 2015 +0200
Add patch passing ldflags.
diff --git a/debian/patches/02-pass_ldflags.patch b/debian/patches/02-pass_ldflags.patch
new file mode 100644
index 0000000..ed3bb04
--- /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: vco-plugins/Makefile
+===================================================================
+--- vco-plugins.orig/Makefile
++++ vco-plugins/Makefile
+@@ -4,7 +4,7 @@ CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall
+
+
+ blvco.so: blvco.o blvco_if.o exp2ap.o
+- g++ -shared blvco.o blvco_if.o exp2ap.o -o blvco.so
++ g++ $(LDFLAGS) -shared blvco.o blvco_if.o exp2ap.o -o blvco.so
+
+ blvco.o: ladspaplugin.h blvco.h ladspa.h
+ blvco_if.o: ladspaplugin.h blvco.h ladspa.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
--
vco-plugins packaging
More information about the pkg-multimedia-commits
mailing list