Unverified Commit 2d2cd15a authored by Marcin Serwin's avatar Marcin Serwin
Browse files

gnujump: fix build with gcc15

parent 78679f24
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
    SDL_mixer
  ];

  patches = [ ./fix-c23-prototypes.patch ];

  env.NIX_LDFLAGS = "-lm";

  desktopItems = [