diffstat for rgbpaint-0.8.7 rgbpaint-0.8.7

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

diff -Nru rgbpaint-0.8.7/debian/changelog rgbpaint-0.8.7/debian/changelog
--- rgbpaint-0.8.7/debian/changelog	2025-01-19 15:03:17.000000000 +0200
+++ rgbpaint-0.8.7/debian/changelog	2025-10-24 20:26:11.000000000 +0300
@@ -1,3 +1,10 @@
+rgbpaint (0.8.7-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1097790)
+
+ -- Adrian Bunk <bunk@debian.org>  Fri, 24 Oct 2025 20:26:11 +0300
+
 rgbpaint (0.8.7-7) unstable; urgency=low
 
   * Team upload.
diff -Nru rgbpaint-0.8.7/debian/patches/gcc-15.patch rgbpaint-0.8.7/debian/patches/gcc-15.patch
--- rgbpaint-0.8.7/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ rgbpaint-0.8.7/debian/patches/gcc-15.patch	2025-10-24 20:26:11.000000000 +0300
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1097790
+
+--- rgbpaint-0.8.7.orig/src/mainwindow.c
++++ rgbpaint-0.8.7/src/mainwindow.c
+@@ -1779,7 +1779,7 @@ void main_init( int window_id )
+ 	gtk_widget_show_all (main_window);
+ 
+ 	/* !!! Have to wait till canvas is displayed, to init keyboard */
+-	fill_keycodes(main_keys);
++	fill_keycodes();
+ 
+ 	gtk_widget_grab_focus(scrolledwindow_canvas);	// Stops first icon in toolbar being selected
+ 	gdk_window_raise( main_window->window );
diff -Nru rgbpaint-0.8.7/debian/patches/series rgbpaint-0.8.7/debian/patches/series
--- rgbpaint-0.8.7/debian/patches/series	2025-01-19 15:03:17.000000000 +0200
+++ rgbpaint-0.8.7/debian/patches/series	2025-10-24 20:26:11.000000000 +0300
@@ -11,3 +11,4 @@
 11-hardening_errors.diff
 12-build_portability.diff
 cross.patch
+gcc-15.patch
