diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-16 00:15:46 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-22 15:52:56 +0700 |
commit | 4b340eb86df5fc74001d2d88c2de5dedf62b195a (patch) | |
tree | 243348d6b1948fd0507d2173392fcceccdc3d116 /games/doomretro/fix-sdl-mixer-fluidsynth.diff | |
parent | c322f783178523c8ae8de606b4adc5e33f3e9409 (diff) |
games/doomretro: Updated for version 4.9.2, fix music.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/doomretro/fix-sdl-mixer-fluidsynth.diff')
-rw-r--r-- | games/doomretro/fix-sdl-mixer-fluidsynth.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/doomretro/fix-sdl-mixer-fluidsynth.diff b/games/doomretro/fix-sdl-mixer-fluidsynth.diff new file mode 100644 index 000000000000..be12c1d8f460 --- /dev/null +++ b/games/doomretro/fix-sdl-mixer-fluidsynth.diff @@ -0,0 +1,14 @@ +--- music_fluidsynth.c.orig 2018-10-31 15:59:00.000000000 +0100 ++++ music_fluidsynth.c 2021-01-20 18:29:11.610459000 +0100 +@@ -273,9 +273,10 @@ + static void FLUIDSYNTH_Delete(void *context) + { + FLUIDSYNTH_Music *music = (FLUIDSYNTH_Music *)context; ++ fluid_settings_t *settings = fluidsynth.fluid_synth_get_settings(music->synth); + fluidsynth.delete_fluid_player(music->player); +- fluidsynth.delete_fluid_settings(fluidsynth.fluid_synth_get_settings(music->synth)); + fluidsynth.delete_fluid_synth(music->synth); ++ fluidsynth.delete_fluid_settings(settings); + SDL_free(music); + } + |