gnujump: fix build with gcc15 (#487800)

This commit is contained in:
Vladimír Čunát
2026-03-06 08:03:43 +00:00
committed by GitHub
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,16 @@
diff --git a/src/game.h b/src/game.h
index fc75acc..fd511a8 100644
--- a/src/game.h
+++ b/src/game.h
@@ -207,9 +207,9 @@ void continueTimer (L_timer * time);
int yesNoQuestion (data_t * gfx, game_t * game, char *text);
-int updateInput ();
+int updateInput (game_t * game);
-void freeGame ();
+void freeGame (game_t * game);
void drawGame (data_t * gfx, game_t * game);
+2
View File
@@ -28,6 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
SDL_mixer
];
patches = [ ./fix-c23-prototypes.patch ];
env.NIX_LDFLAGS = "-lm";
desktopItems = [