Control: tags 1096758 + patch Control: tags 1096758 + pending Dear maintainer,
I've prepared an NMU for gplanarity (versioned as 17906-7.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for gplanarity-17906 gplanarity-17906 changelog | 7 +++++++ patches/gcc-15.patch | 35 +++++++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 43 insertions(+) diff -Nru gplanarity-17906/debian/changelog gplanarity-17906/debian/changelog --- gplanarity-17906/debian/changelog 2018-06-17 09:59:51.000000000 +0300 +++ gplanarity-17906/debian/changelog 2025-09-30 15:51:10.000000000 +0300 @@ -1,3 +1,10 @@ +gplanarity (17906-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 15. (Closes: #1096758) + + -- Adrian Bunk <[email protected]> Tue, 30 Sep 2025 15:51:10 +0300 + gplanarity (17906-7) unstable; urgency=medium * patches/cross.patch: fix cross build, patch from Helmut Grohne diff -Nru gplanarity-17906/debian/patches/gcc-15.patch gplanarity-17906/debian/patches/gcc-15.patch --- gplanarity-17906/debian/patches/gcc-15.patch 1970-01-01 02:00:00.000000000 +0200 +++ gplanarity-17906/debian/patches/gcc-15.patch 2025-09-30 15:51:10.000000000 +0300 @@ -0,0 +1,35 @@ +Description: Fix FTBFS with GCC 15 +Author: Adrian Bunk <[email protected]> +Bug-Debian: https://bugs.debian.org/1096758 + +--- gplanarity-17906.orig/gameboard.h ++++ gplanarity-17906/gameboard.h +@@ -119,7 +119,7 @@ typedef struct { + int rollover; + int press; + +- void (*callback)(); ++ void (*callback)(Gameboard *); + } buttonstate; + + typedef struct { +--- gplanarity-17906.orig/main.c ++++ gplanarity-17906/main.c +@@ -92,7 +92,7 @@ static void clean_exit(int sig){ + fprintf(stderr, + _("\nTrapped signal %d; saving state and exiting!\n"),sig); + +- levelstate_write(statedir); ++ levelstate_write(); + gtk_main_quit(); + exit(0); + } +@@ -103,7 +103,7 @@ static void clean_exit_delete_post(Gameb + } + + static gint clean_exit_delete(gpointer p){ +- levelstate_write(statedir); ++ levelstate_write(); + undeploy_buttons(gameboard,clean_exit_delete_post); + return 1; // we're handling it, don't continue the delete chain + } diff -Nru gplanarity-17906/debian/patches/series gplanarity-17906/debian/patches/series --- gplanarity-17906/debian/patches/series 2018-06-17 09:59:51.000000000 +0300 +++ gplanarity-17906/debian/patches/series 2025-09-30 15:51:10.000000000 +0300 @@ -3,3 +3,4 @@ fix_makefile_flags.patch fontconfig.patch cross.patch +gcc-15.patch

