Control: tags 1096428 + patch
Control: tags 1096428 + pending

Dear maintainer,

I've prepared an NMU for cgoban (versioned as 1.9.14-20.1) and uploaded 
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for cgoban-1.9.14 cgoban-1.9.14

 changelog            |    7 +++++++
 patches/gcc-15.patch |   24 ++++++++++++++++++++++++
 patches/series       |    1 +
 3 files changed, 32 insertions(+)

diff -Nru cgoban-1.9.14/debian/changelog cgoban-1.9.14/debian/changelog
--- cgoban-1.9.14/debian/changelog	2024-03-27 13:14:11.000000000 +0200
+++ cgoban-1.9.14/debian/changelog	2025-09-20 20:04:59.000000000 +0300
@@ -1,3 +1,10 @@
+cgoban (1.9.14-20.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096428)
+
+ -- Adrian Bunk <[email protected]>  Sat, 20 Sep 2025 20:04:59 +0300
+
 cgoban (1.9.14-20) unstable; urgency=low
 
   * Updated path to gnugo.
diff -Nru cgoban-1.9.14/debian/patches/gcc-15.patch cgoban-1.9.14/debian/patches/gcc-15.patch
--- cgoban-1.9.14/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ cgoban-1.9.14/debian/patches/gcc-15.patch	2025-09-20 20:04:59.000000000 +0300
@@ -0,0 +1,24 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1096428
+
+--- cgoban-1.9.14.orig/src/main.c
++++ cgoban-1.9.14/src/main.c
+@@ -29,7 +29,7 @@
+  **********************************************************************/
+ static void  stealth(int exitVal);
+ #if  !DEBUG
+-static RETSIGTYPE  sigHandler();
++static RETSIGTYPE  sigHandler(int sig);
+ #endif  /* !DEBUG */
+ 
+ 
+@@ -132,7 +132,7 @@ static void  stealth(int exitVal)  {
+ 
+ 
+ #if  !DEBUG
+-static RETSIGTYPE  sigHandler()  {
++static RETSIGTYPE  sigHandler(int sig)  {
+   fprintf(stderr, "Signal caught.\n");
+   abort();
+ }
diff -Nru cgoban-1.9.14/debian/patches/series cgoban-1.9.14/debian/patches/series
--- cgoban-1.9.14/debian/patches/series	2024-03-27 12:40:31.000000000 +0200
+++ cgoban-1.9.14/debian/patches/series	2025-09-20 20:04:59.000000000 +0300
@@ -7,3 +7,4 @@
 compiler.diff
 devices.diff
 manpage.diff
+gcc-15.patch

Reply via email to