[SCM] suil/master: Add patch to fix FTBFS. (Closes: #844101)
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sat Nov 12 16:54:04 UTC 2016
The following commit has been merged in the master branch:
commit 17758183945b8bfee17c51188908a51e0e2846d9
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sat Nov 12 17:29:42 2016 +0100
Add patch to fix FTBFS. (Closes: #844101)
diff --git a/debian/patches/1001-no-ansi.patch b/debian/patches/1001-no-ansi.patch
new file mode 100644
index 0000000..68577a1
--- /dev/null
+++ b/debian/patches/1001-no-ansi.patch
@@ -0,0 +1,24 @@
+Description: Don't build with -ansi
+ -ansi is for C++ equivalent to -std=c++98
+ .
+ Qt 5.7 uses C++11 features in its headers, resulting in
+ compile errors when trying to use these headers in C++98 mode.
+ .
+ Removing -ansi fixes the bug, depending on upstream policy
+ building with -std=c++11 (or -std=c++14) instead of -ansi
+ might be preferred by upstream with gcc versions that
+ support these standards.
+Author: Adrian Bunk <bunk at stusta.de>
+Bug-Debian: https://bugs.debian.org/844101
+
+--- suil-0.8.4~dfsg0.orig/waflib/extras/autowaf.py
++++ suil-0.8.4~dfsg0/waflib/extras/autowaf.py
+@@ -162,7 +162,7 @@ def configure(conf):
+ conf.env.append_value('CFLAGS',['-pedantic','-Wshadow'])
+ if conf.env.DEST_OS!="darwin":
+ conf.env.append_value('LINKFLAGS',['-Wl,--no-undefined'])
+- conf.env.append_value('CXXFLAGS',['-ansi','-Wnon-virtual-dtor','-Woverloaded-virtual'])
++ conf.env.append_value('CXXFLAGS',['-Wnon-virtual-dtor','-Woverloaded-virtual'])
+ append_cxx_flags(['-Wall','-Wcast-align','-Wextra','-Wmissing-declarations','-Wno-unused-parameter','-Wstrict-overflow','-Wundef','-Wwrite-strings','-fstrict-overflow'])
+ if not conf.check_cc(fragment='''
+ #ifndef __clang__
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c6130f8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001-no-ansi.patch
--
suil packaging
More information about the pkg-multimedia-commits
mailing list