[SCM] qsampler/master: Add patch to build with gcc6. (Closes: #831111)

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Fri Jul 22 19:21:39 UTC 2016


The following commit has been merged in the master branch:
commit d0ecb3d07a1a6694eacc13c74d52ea22de4bcde5
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Jul 20 23:19:14 2016 +0200

    Add patch to build with gcc6. (Closes: #831111)

diff --git a/debian/patches/0002-configure-gcc6.patch b/debian/patches/0002-configure-gcc6.patch
new file mode 100644
index 0000000..b8c9465
--- /dev/null
+++ b/debian/patches/0002-configure-gcc6.patch
@@ -0,0 +1,21 @@
+Description: Fix build with gcc6
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: qsampler/configure.ac
+===================================================================
+--- qsampler.orig/configure.ac
++++ qsampler/configure.ac
+@@ -62,11 +62,7 @@ AC_ARG_ENABLE(stacktrace,
+ 
+ 
+ # Standard installation base dirs.
+-if test "$cross_compiling" = yes; then
+-  ac_with_paths=""
+-else
+-  ac_with_paths="/usr /usr/local"
+-fi
++ac_with_paths=""
+ 
+ # Set for alternate Qt4/5 installation dir.
+ AC_ARG_WITH(qt4,
diff --git a/debian/patches/series b/debian/patches/series
index 56aa973..1875e4c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-hardening.patch
+0002-configure-gcc6.patch

-- 
qsampler packaging



More information about the pkg-multimedia-commits mailing list