Control: tags 1097888 + patch Control: tags 1097888 + pending Dear maintainer,
I've prepared an NMU for sjeng (versioned as 11.2-15.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for sjeng-11.2 sjeng-11.2 changelog | 7 +++++++ patches/gcc-15.patch | 26 ++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 34 insertions(+) diff -Nru sjeng-11.2/debian/changelog sjeng-11.2/debian/changelog --- sjeng-11.2/debian/changelog 2025-03-31 13:58:21.000000000 +0300 +++ sjeng-11.2/debian/changelog 2025-10-24 20:23:18.000000000 +0300 @@ -1,3 +1,10 @@ +sjeng (11.2-15.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 15. (Closes: #1097888) + + -- Adrian Bunk <[email protected]> Fri, 24 Oct 2025 20:23:18 +0300 + sjeng (11.2-15) unstable; urgency=medium * Adpot game inside Games Team (Closes: #1043389) diff -Nru sjeng-11.2/debian/patches/gcc-15.patch sjeng-11.2/debian/patches/gcc-15.patch --- sjeng-11.2/debian/patches/gcc-15.patch 1970-01-01 02:00:00.000000000 +0200 +++ sjeng-11.2/debian/patches/gcc-15.patch 2025-10-24 20:23:18.000000000 +0300 @@ -0,0 +1,26 @@ +Description: Fix FTBFS with GCC 15 +Author: Adrian Bunk <[email protected]> +Bug-Debian: https://bugs.debian.org/1097888 + +--- sjeng-11.2.orig/sjeng.h ++++ sjeng-11.2/sjeng.h +@@ -27,6 +27,7 @@ + #include "config.h" + #include <ctype.h> + #include <signal.h> ++#include <stdbool.h> + #include <stdlib.h> + #include <stdio.h> + #include <string.h> +@@ -99,9 +100,8 @@ + #define diagl(square) (diagl[(square)]) + #define diagr(square) (diagr[(square)]) + +-#ifndef INPROBECODE +-typedef enum {FALSE, TRUE} bool; +-#endif ++#define TRUE true ++#define FALSE false + + /* castle flags: */ + #define no_castle 0 diff -Nru sjeng-11.2/debian/patches/series sjeng-11.2/debian/patches/series --- sjeng-11.2/debian/patches/series 2025-03-31 13:56:37.000000000 +0300 +++ sjeng-11.2/debian/patches/series 2025-10-24 20:23:18.000000000 +0300 @@ -19,3 +19,4 @@ ttable.c.patch utils.c.patch gcc-10.patch +gcc-15.patch

