Control: tags 1097621 + patch
Control: tags 1097621 + pending

Dear maintainer,

I've prepared an NMU for pmars (versioned as 0.9.4-1.1) and uploaded
it to DELAYED/14. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for pmars-0.9.4 pmars-0.9.4

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

diff -Nru pmars-0.9.4/debian/changelog pmars-0.9.4/debian/changelog
--- pmars-0.9.4/debian/changelog	2024-03-21 11:07:26.000000000 +0200
+++ pmars-0.9.4/debian/changelog	2025-09-30 15:59:17.000000000 +0300
@@ -1,3 +1,10 @@
+pmars (0.9.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1097621)
+
+ -- Adrian Bunk <[email protected]>  Tue, 30 Sep 2025 15:59:17 +0300
+
 pmars (0.9.4-1) unstable; urgency=medium
 
   * New upstream version 0.9.4
diff -Nru pmars-0.9.4/debian/patches/gcc-15.patch pmars-0.9.4/debian/patches/gcc-15.patch
--- pmars-0.9.4/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ pmars-0.9.4/debian/patches/gcc-15.patch	2025-09-30 15:59:17.000000000 +0300
@@ -0,0 +1,14 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1097621
+
+--- pmars-0.9.4.orig/src/global.h
++++ pmars-0.9.4/src/global.h
+@@ -425,7 +425,6 @@ extern int score(int warnum);
+ extern void sort_by_score(int *idxV, int *scrV);
+ extern int deaths(int warnum);
+ extern void results(FILE * outp);
+-extern void sort_by_score();
+ extern void Exit(int code);
+ extern void reset_regs(void);
+ extern void set_reg(char regChr, long val);
diff -Nru pmars-0.9.4/debian/patches/series pmars-0.9.4/debian/patches/series
--- pmars-0.9.4/debian/patches/series	2024-03-21 10:58:25.000000000 +0200
+++ pmars-0.9.4/debian/patches/series	2025-09-30 15:59:17.000000000 +0300
@@ -2,3 +2,4 @@
 printf.patch
 manpage.patch
 fix-implicit-sighandler.patch
+gcc-15.patch

Reply via email to