diff -pruN 2.20pl2-14/debian/changelog 2.20pl2-15/debian/changelog
--- 2.20pl2-14/debian/changelog	2024-08-18 14:37:42.000000000 +0000
+++ 2.20pl2-15/debian/changelog	2025-09-20 16:01:08.000000000 +0000
@@ -1,3 +1,10 @@
+bwbasic (2.20pl2-15) unstable; urgency=medium
+
+  * QA upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096401)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 20 Sep 2025 19:01:08 +0300
+
 bwbasic (2.20pl2-14) unstable; urgency=low
 
   * QA upload.
diff -pruN 2.20pl2-14/debian/patches/gcc-15.patch 2.20pl2-15/debian/patches/gcc-15.patch
--- 2.20pl2-14/debian/patches/gcc-15.patch	1970-01-01 00:00:00.000000000 +0000
+++ 2.20pl2-15/debian/patches/gcc-15.patch	2025-09-20 16:01:08.000000000 +0000
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1096401
+
+--- bwbasic-2.20pl2.orig/renum.c
++++ bwbasic-2.20pl2/renum.c
+@@ -9,9 +9,9 @@
+ #include <string.h>
+ #include <stdlib.h>
+ 
+-int instr();
+-char *midstr1();
+-char *midstr2();
++int instr(char *astr, char *bstr);
++char *midstr1(char *astr, int start);
++char *midstr2(char *astr, int start, int len);
+ void binary_search(void);
+ 
+ int f2, l2, n, x;
diff -pruN 2.20pl2-14/debian/patches/series 2.20pl2-15/debian/patches/series
--- 2.20pl2-14/debian/patches/series	2024-08-18 14:32:01.000000000 +0000
+++ 2.20pl2-15/debian/patches/series	2025-09-20 16:01:08.000000000 +0000
@@ -2,3 +2,4 @@ import_diff.patch
 fix_clang.patch
 enable_debug.patch
 fix_gcc14_ftbfs.patch
+gcc-15.patch
