Control: tags -1 patch
A fix for the suil FTBFS is attached.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
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 <[email protected]>
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__