Control: tags 1097632 + patch Control: tags 1097632 + pending Dear maintainer,
I've prepared an NMU for polyglot (versioned as 2.0.4+git20210322-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for polyglot-2.0.4+git20210322 polyglot-2.0.4+git20210322 changelog | 7 +++++++ patches/gcc-15.patch | 36 ++++++++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 44 insertions(+) diff -Nru polyglot-2.0.4+git20210322/debian/changelog polyglot-2.0.4+git20210322/debian/changelog --- polyglot-2.0.4+git20210322/debian/changelog 2021-03-29 21:43:40.000000000 +0300 +++ polyglot-2.0.4+git20210322/debian/changelog 2025-10-23 19:19:40.000000000 +0300 @@ -1,3 +1,10 @@ +polyglot (2.0.4+git20210322-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 15. (Closes: #1097632) + + -- Adrian Bunk <[email protected]> Thu, 23 Oct 2025 19:19:40 +0300 + polyglot (2.0.4+git20210322-1) unstable; urgency=medium * New upstream snapshot; closes: #985657. diff -Nru polyglot-2.0.4+git20210322/debian/patches/gcc-15.patch polyglot-2.0.4+git20210322/debian/patches/gcc-15.patch --- polyglot-2.0.4+git20210322/debian/patches/gcc-15.patch 1970-01-01 02:00:00.000000000 +0200 +++ polyglot-2.0.4+git20210322/debian/patches/gcc-15.patch 2025-10-23 19:19:40.000000000 +0300 @@ -0,0 +1,36 @@ +Description: Fix FTBFS with GCC 15 +Author: Adrian Bunk <[email protected]> +Bug-Debian: https://bugs.debian.org/1097632 + +--- polyglot-2.0.4+git20210322.orig/util.h ++++ polyglot-2.0.4+git20210322/util.h +@@ -6,6 +6,7 @@ + + // includes + ++#include <stdbool.h> + #include <stdio.h> + #include <sys/types.h> + #include <sys/timeb.h> +@@ -27,10 +28,10 @@ + + + #undef FALSE +-#define FALSE 0 ++#define FALSE false + + #undef TRUE +-#define TRUE 1 ++#define TRUE true + + #ifdef DEBUG + # undef DEBUG +@@ -110,8 +111,6 @@ typedef unsigned short uint16; + typedef signed int sint32; + typedef unsigned int uint32; + +-typedef int bool; +- + #ifdef _MSC_VER + typedef signed __int64 sint64; + typedef unsigned __int64 uint64; diff -Nru polyglot-2.0.4+git20210322/debian/patches/series polyglot-2.0.4+git20210322/debian/patches/series --- polyglot-2.0.4+git20210322/debian/patches/series 2016-11-19 20:56:39.000000000 +0200 +++ polyglot-2.0.4+git20210322/debian/patches/series 2025-10-23 19:19:40.000000000 +0300 @@ -1 +1,2 @@ 01-spelling.diff +gcc-15.patch

