Control: tags 833969 +patch

A fix for the ganv 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
 .
 sigc++-2.0 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 (untested).
Author: Adrian Bunk <b...@stusta.de>
Bug-Debian: https://bugs.debian.org/833969
Forwarded: no

--- ganv-1.4.2~dfsg0.orig/waflib/extras/autowaf.py
+++ ganv-1.4.2~dfsg0/waflib/extras/autowaf.py
@@ -181,7 +181,7 @@ def configure(conf):
 		conf.env.append_value('CXXFLAGS',['-Wcast-qual'])
 	if Options.options.strict:
 		conf.env.append_value('CFLAGS',['-pedantic','-Wshadow'])
-		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__

Reply via email to