git: 69ed3f5935bc - main - games/SpaceCadetPinball: fix build after audio/sdl2_mixer update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Jul 2022 12:41:09 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=69ed3f5935bc2170c2f3cbf39736109c1d602d19 commit 69ed3f5935bc2170c2f3cbf39736109c1d602d19 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-07-21 11:03:58 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-07-21 12:41:00 +0000 games/SpaceCadetPinball: fix build after audio/sdl2_mixer update --- .../files/patch-SpaceCadetPinball_pch.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/games/SpaceCadetPinball/files/patch-SpaceCadetPinball_pch.h b/games/SpaceCadetPinball/files/patch-SpaceCadetPinball_pch.h new file mode 100644 index 000000000000..13976847fe4e --- /dev/null +++ b/games/SpaceCadetPinball/files/patch-SpaceCadetPinball_pch.h @@ -0,0 +1,16 @@ +Fix SDL_Mixer version detection broken after SDL_mixer 2.6.1. +This is already fixed in SpaceCadetPinball master after 2.0.1. +--- SpaceCadetPinball/pch.h.orig 2021-12-29 06:46:09 UTC ++++ SpaceCadetPinball/pch.h +@@ -37,11 +37,7 @@ + + // MIX_INIT_FLUIDSYNTH was renamed to MIX_INIT_MID in SDL_mixer v2.0.2 + constexpr int MIX_INIT_MID_Proxy = +-#if SDL_MIXER_PATCHLEVEL >= 2 + MIX_INIT_MID; +-#else +- MIX_INIT_FLUIDSYNTH; +-#endif + + //https://github.com/ocornut/imgui 7b913db1ce9dd2fd98e5790aa59974dd4496be3b + #include "imgui.h"