Control: tags 1098122 + patch
Control: tags 1098122 + pending

Dear maintainer,

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

cu
Adrian
diffstat for xboard-4.9.1 xboard-4.9.1

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

diff -Nru xboard-4.9.1/debian/changelog xboard-4.9.1/debian/changelog
--- xboard-4.9.1/debian/changelog	2024-11-27 16:34:52.000000000 +0200
+++ xboard-4.9.1/debian/changelog	2025-10-11 19:00:25.000000000 +0300
@@ -1,3 +1,10 @@
+xboard (4.9.1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1098122)
+
+ -- Adrian Bunk <[email protected]>  Sat, 11 Oct 2025 19:00:25 +0300
+
 xboard (4.9.1-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru xboard-4.9.1/debian/patches/gcc-15.patch xboard-4.9.1/debian/patches/gcc-15.patch
--- xboard-4.9.1/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ xboard-4.9.1/debian/patches/gcc-15.patch	2025-10-11 19:00:25.000000000 +0300
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1098122
+
+--- xboard-4.9.1.orig/xaw/xboard.c
++++ xboard-4.9.1/xaw/xboard.c
+@@ -2173,7 +2173,7 @@ DisplayIcsInteractionTitle (String messa
+       Window win = (Window) atoi(wina);
+       Window root, parent, *children;
+       unsigned int nchildren;
+-      int (*oldHandler)() = XSetErrorHandler(NullXErrorCheck);
++      XErrorHandler oldHandler = XSetErrorHandler(NullXErrorCheck);
+       for (;;) {
+ 	if (XFetchName(xDisplay, win, &oldICSInteractionTitle)) break;
+ 	if (!XQueryTree(xDisplay, win, &root, &parent,
diff -Nru xboard-4.9.1/debian/patches/series xboard-4.9.1/debian/patches/series
--- xboard-4.9.1/debian/patches/series	2024-11-08 15:09:34.000000000 +0200
+++ xboard-4.9.1/debian/patches/series	2025-10-11 19:00:25.000000000 +0300
@@ -5,3 +5,4 @@
 03_fix_xaw_build.patch
 gcc10.patch
 12_fix_xq_texture_filename.patch
+gcc-15.patch

Reply via email to