diff -Nru codeblocks-16.01+dfsg/debian/changelog codeblocks-16.01+dfsg/debian/changelog --- codeblocks-16.01+dfsg/debian/changelog 2016-06-15 07:26:34.000000000 +0000 +++ codeblocks-16.01+dfsg/debian/changelog 2017-09-30 18:21:54.000000000 +0000 @@ -1,3 +1,10 @@ +codeblocks (16.01+dfsg-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Apply patch from upstream svn to fix FTBFS with GCC 7.1 (Closes: #853349) + + -- Andreas Moog Sat, 30 Sep 2017 20:21:54 +0200 + codeblocks (16.01+dfsg-2) unstable; urgency=medium * Drop debian/patches/05-fix-boost-system-1.60.patch; obsolete. diff -Nru codeblocks-16.01+dfsg/debian/patches/06-fix-ftbfs-gcc71.patch codeblocks-16.01+dfsg/debian/patches/06-fix-ftbfs-gcc71.patch --- codeblocks-16.01+dfsg/debian/patches/06-fix-ftbfs-gcc71.patch 1970-01-01 00:00:00.000000000 +0000 +++ codeblocks-16.01+dfsg/debian/patches/06-fix-ftbfs-gcc71.patch 2017-09-30 18:21:54.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Fix compilation with GCC 7.1.0 +Bug-Debian: https://bugs.debian.org/853349 +Origin: upstream, https://sourceforge.net/p/codeblocks/code/11006/ +Last-Update: 2017-09-30 + +--- codeblocks-16.01+dfsg.orig/src/include/scripting/sqplus/sqplus.h ++++ codeblocks-16.01+dfsg/src/include/scripting/sqplus/sqplus.h +@@ -154,10 +154,10 @@ + return safeStringCopy(s,_s.s,MaxLength); + } + bool operator == (const ScriptStringVar & _s) { +- return _strcmp(s,_s.s) == 0; ++ return strcmp(s,_s.s) == 0; + } + bool compareCaseInsensitive(const ScriptStringVar & _s) { +- return _stricmp(s,_s.s) == 0; ++ return strcasecmp(s,_s.s) == 0; + } + }; diff -Nru codeblocks-16.01+dfsg/debian/patches/series codeblocks-16.01+dfsg/debian/patches/series --- codeblocks-16.01+dfsg/debian/patches/series 2016-06-15 07:25:21.000000000 +0000 +++ codeblocks-16.01+dfsg/debian/patches/series 2017-09-30 18:21:54.000000000 +0000 @@ -3,3 +3,4 @@ 03-remove-fPIC-from-pkg-info.patch 04-reproducible_build.patch 05-remove-rsa-md5-impl.patch +06-fix-ftbfs-gcc71.patch