diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2022-07-21 11:03:58 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2022-07-21 12:41:00 +0000 |
commit | 69ed3f5935bc2170c2f3cbf39736109c1d602d19 (patch) | |
tree | 22ac944909cc6e89a1d2815e0d657ea64669d111 | |
parent | 6b4c8d1e3b7bc7ed1c07b0e3f74d21405be186c0 (diff) | |
download | ports-69ed3f5935bc2170c2f3cbf39736109c1d602d19.tar.gz ports-69ed3f5935bc2170c2f3cbf39736109c1d602d19.zip |
games/SpaceCadetPinball: fix build after audio/sdl2_mixer update
-rw-r--r-- | games/SpaceCadetPinball/files/patch-SpaceCadetPinball_pch.h | 16 |
1 files changed, 16 insertions, 0 deletions
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" |