gnujump: fix build with gcc15 (#487800)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -28,6 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
SDL_mixer
|
||||
];
|
||||
|
||||
patches = [ ./fix-c23-prototypes.patch ];
|
||||
|
||||
env.NIX_LDFLAGS = "-lm";
|
||||
|
||||
desktopItems = [
|
||||
|
||||
Reference in New Issue
Block a user