[SCM] jalv/master: Add patch to fix build with qt5.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sun Jan 8 11:16:51 UTC 2017
The following commit has been merged in the master branch:
commit f8db582ed7b067915c97bb6b6bb1c6cca5d7f898
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sun Jan 8 12:10:52 2017 +0100
Add patch to fix build with qt5.
diff --git a/debian/patches/2001-qt5_build.patch b/debian/patches/2001-qt5_build.patch
new file mode 100644
index 0000000..a5c906d
--- /dev/null
+++ b/debian/patches/2001-qt5_build.patch
@@ -0,0 +1,18 @@
+Description: Pass -std=c++11 for qt5 build.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+http://git.drobilla.net/cgit.cgi/jalv.git/commit/?id=c32f3ca76a09c03fe9a022eb46e049e6fd5e2dbb
+Forwarded: David Robillard <d at drobilla.net>
+
+Index: jalv/wscript
+===================================================================
+--- jalv.orig/wscript
++++ jalv/wscript
+@@ -231,7 +231,7 @@ def build(bld):
+ includes = ['.', 'src'],
+ lib = ['pthread'],
+ install_path = '${BINDIR}',
+- cxxflags = ['-fPIC'])
++ cxxflags = ['-fPIC', '-std=c++11'])
+ autowaf.use_lib(bld, obj, libs + ' QT5')
+
+ # Man pages
diff --git a/debian/patches/series b/debian/patches/series
index 611400a..89f0251 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
1001-manpages.patch
+2001-qt5_build.patch
--
jalv packaging
More information about the pkg-multimedia-commits
mailing list