[SCM] rtmidi/master: Add patch to pass cxxflags.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Wed Jun 22 16:49:32 UTC 2016


The following commit has been merged in the master branch:
commit 84a88072c5a2c32a5feda6fba7c24a3d5c8385e3
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Jun 22 18:49:18 2016 +0200

    Add patch to pass cxxflags.

diff --git a/debian/patches/0006-hardening.patch b/debian/patches/0006-hardening.patch
new file mode 100644
index 0000000..8ec0062
--- /dev/null
+++ b/debian/patches/0006-hardening.patch
@@ -0,0 +1,19 @@
+Description: Pass CXXFLAGS
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: rtmidi/configure.ac
+===================================================================
+--- rtmidi.orig/configure.ac
++++ rtmidi/configure.ac
+@@ -78,8 +78,8 @@ fi
+ CPPFLAGS="$CPPFLAGS $cppflag"
+ 
+ # For debugging and optimization ... overwrite default because it has both -g and -O2
+-#CXXFLAGS="$CXXFLAGS $cxxflag"
+-CXXFLAGS="$cxxflag"
++CXXFLAGS="$CXXFLAGS $cxxflag"
++#CXXFLAGS="$cxxflag"
+ 
+ # Check compiler and use -Wall if gnu.
+ if [test $GXX = "yes" ;] then
diff --git a/debian/patches/series b/debian/patches/series
index 982c836..ac9296e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-buildsystem.patch
 0004-not-install-doc-images.patch
 0005-fix_pkg-config.patch
+0006-hardening.patch

-- 
RtMidi packaging



More information about the pkg-multimedia-commits mailing list