Control: tags 1097569 + patch
Control: tags 1097569 + pending

Dear maintainer,

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

cu
Adrian
diffstat for penguin-command-1.6.11 penguin-command-1.6.11

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

diff -Nru penguin-command-1.6.11/debian/changelog penguin-command-1.6.11/debian/changelog
--- penguin-command-1.6.11/debian/changelog	2024-05-09 02:30:55.000000000 +0300
+++ penguin-command-1.6.11/debian/changelog	2025-10-22 20:41:25.000000000 +0300
@@ -1,3 +1,10 @@
+penguin-command (1.6.11-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1097569)
+
+ -- Adrian Bunk <[email protected]>  Wed, 22 Oct 2025 20:41:25 +0300
+
 penguin-command (1.6.11-4) unstable; urgency=medium
 
   * Team Upload
diff -Nru penguin-command-1.6.11/debian/patches/gcc-15.patch penguin-command-1.6.11/debian/patches/gcc-15.patch
--- penguin-command-1.6.11/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ penguin-command-1.6.11/debian/patches/gcc-15.patch	2025-10-22 20:41:25.000000000 +0300
@@ -0,0 +1,20 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1097569
+
+--- penguin-command-1.6.11.orig/src/gfx.c
++++ penguin-command-1.6.11/src/gfx.c
+@@ -260,11 +260,11 @@ int DoLinePart (SDL_Surface *Surface, Si
+ 
+ void LinePart(Sint32 X1, Sint32 Y1, Sint32 X2, Sint32 Y2, Sint32 lower, Sint32 upper, Uint32 Color)
+ {
+-   lock(Screen);
++   lock();
+ 
+    /* Draw the line */
+    DoLinePart(Screen, X1, Y1, X2, Y2, lower, upper, Color, &PutPixel);
+-   unlock(Screen);
++   unlock();
+ }
+ 
+ void Update()
diff -Nru penguin-command-1.6.11/debian/patches/series penguin-command-1.6.11/debian/patches/series
--- penguin-command-1.6.11/debian/patches/series	2024-05-09 02:30:55.000000000 +0300
+++ penguin-command-1.6.11/debian/patches/series	2025-10-22 20:41:25.000000000 +0300
@@ -1,2 +1,3 @@
 fix-ja-manpage.patch
 implicit-function
+gcc-15.patch

Reply via email to