Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
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()
