diff -pruN 1.6.5.90-3.1/debian/changelog 1.6.5.90-3.2/debian/changelog
--- 1.6.5.90-3.1/debian/changelog	2023-06-23 12:21:04.000000000 +0000
+++ 1.6.5.90-3.2/debian/changelog	2025-09-21 13:52:05.000000000 +0000
@@ -1,3 +1,11 @@
+enscript (1.6.5.90-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Added patch for compiling with gcc-15 that uses c23 as language
+    level (Closes: #1096582).
+
+ -- Giuseppe Sacco <eppesuig@debian.org>  Sun, 21 Sep 2025 15:52:05 +0200
+
 enscript (1.6.5.90-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -pruN 1.6.5.90-3.1/debian/patches/1096582-gcc-15 1.6.5.90-3.2/debian/patches/1096582-gcc-15
--- 1.6.5.90-3.1/debian/patches/1096582-gcc-15	1970-01-01 00:00:00.000000000 +0000
+++ 1.6.5.90-3.2/debian/patches/1096582-gcc-15	2025-09-21 13:45:03.000000000 +0000
@@ -0,0 +1,14 @@
+--- a/compat/regex.c
++++ b/compat/regex.c
+@@ -336,7 +336,10 @@ typedef char boolean;
+ #define false 0
+ #define true 1
+ 
+-static int re_match_2_internal ();
++static int re_match_2_internal (struct re_pattern_buffer *bufp,
++	const char *string1, int size1,
++	const char *string2, int size2,
++	int pos, struct re_registers *regs, int stop);
+ 
+ /* These are the command codes that appear in compiled regular
+    expressions.  Some opcodes are followed by argument bytes.  A
diff -pruN 1.6.5.90-3.1/debian/patches/series 1.6.5.90-3.2/debian/patches/series
--- 1.6.5.90-3.1/debian/patches/series	2023-06-23 12:21:04.000000000 +0000
+++ 1.6.5.90-3.2/debian/patches/series	2025-09-21 13:48:50.000000000 +0000
@@ -9,3 +9,4 @@
 147116-ruby-hilight
 457244-octave-highlighting
 865157-automake
+1096582-gcc-15
