Control: tags 811816 +patch A fix for the criticalmass 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: Build with -std=gnu++98 What broke the build is that gcc 6 changed the default C++ standard from C++98 to C++14. . Not all valid C++98 code is also valid C++11 and C++14 code. . Note that this just changed the default, when told to process C++98 code gcc 6 does not differ in any significant way from gcc 5. . Making the code compatible with C++14 would be the best possible solution, but as a workaround it is possible to fix the build with this change to tell gcc that this is C++98 code. . The CXXFLAGS handling in configure.in is wrong and prevents passing flags the normal way, as a workaround this patches configure.in Author: Adrian Bunk <b...@stusta.de> Bug-Debian: https://bugs.debian.org/811816 --- criticalmass-1.0.0.orig/configure.in +++ criticalmass-1.0.0/configure.in @@ -40,7 +40,7 @@ CXXFLAGS="" if test "x$GCC" = xyes; then CFLAGS="$CFLAGS -W -Wall" - CXXFLAGS="$CXXFLAGS -W -Wall -fno-exceptions" + CXXFLAGS="$CXXFLAGS -W -Wall -fno-exceptions -std=gnu++98" fi AC_ARG_ENABLE(debug,