[SCM] midisnoop/master: Add patch to pass flags.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Thu Oct 12 16:10:31 UTC 2017


The following commit has been merged in the master branch:
commit 70509b97d49cfd8b8c5b0c9d25506a93a45d5627
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Oct 12 17:58:18 2017 +0200

    Add patch to pass flags.

diff --git a/debian/patches/05-pass_flag.patch b/debian/patches/05-pass_flag.patch
new file mode 100644
index 0000000..c3ef75f
--- /dev/null
+++ b/debian/patches/05-pass_flag.patch
@@ -0,0 +1,20 @@
+Description: Passing flags
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: midisnoop/src/src.pro
+===================================================================
+--- midisnoop.orig/src/src.pro
++++ midisnoop/src/src.pro
+@@ -5,6 +5,11 @@
+ MIDISNOOP_APP_SUFFIX = bin
+ MIDISNOOP_DATA_SUFFIX = share
+ 
++QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
++QMAKE_CFLAGS   *= $(shell dpkg-buildflags --get CFLAGS)
++QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS)
++QMAKE_LFLAGS   *= $(shell dpkg-buildflags --get LDFLAGS)
++
+ !isEmpty(DEBUG) {
+     CONFIG += debug
+     DEFINES += MIDISNOOP_DEBUG
diff --git a/debian/patches/series b/debian/patches/series
index 9f58998..f9beae6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01-destop_file.patch
 03-fix_build_with_rtmidi_2_1.patch
 04-rtmidi-pkgconfig.patch
+05-pass_flag.patch

-- 
midisnoop packaging



More information about the pkg-multimedia-commits mailing list