[SCM] lv2vocoder/master: Add patch to pass cflags.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Fri Sep 2 09:17:52 UTC 2016


The following commit has been merged in the master branch:
commit 822b95e68be00bbd52b01f964deb6a6a49f3ac92
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Fri Sep 2 11:14:09 2016 +0200

    Add patch to pass cflags.

diff --git a/debian/patches/0002-pass_flags.patch b/debian/patches/0002-pass_flags.patch
new file mode 100644
index 0000000..ca92977
--- /dev/null
+++ b/debian/patches/0002-pass_flags.patch
@@ -0,0 +1,17 @@
+Description: Pass cflags
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: lv2vocoder/GNUmakefile
+===================================================================
+--- lv2vocoder.orig/GNUmakefile
++++ lv2vocoder/GNUmakefile
+@@ -3,7 +3,7 @@ PLUGIN_NAME = vocoder
+ # These files go into the bundle
+ BUNDLE_FILES = manifest.ttl vocoder.ttl vocoder.so
+ 
+-CFLAGS = -c -Wall -fPIC -DPIC $(strip $(shell pkg-config --cflags lv2core))
++CFLAGS += -c -Wall -fPIC -DPIC $(strip $(shell pkg-config --cflags lv2core))
+ 
+ GENDEP_SED_EXPR = "s/^\\(.*\\)\\.o *: /$(subst /,\/,$(@:.d=.o)) $(subst /,\/,$@) : /g"
+ GENDEP_C = set -e; $(GCC_PREFIX)gcc -MM $(CFLAGS) $< | sed $(GENDEP_SED_EXPR) > $@; [ -s $@ ] || rm -f $@
diff --git a/debian/patches/series b/debian/patches/series
index 54479a2..49da617 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-fix_symbols.patch
+0002-pass_flags.patch

-- 
lv2vocoder packaging



More information about the pkg-multimedia-commits mailing list