git: 238a83e0ea90 - main - games/meandmyshadow: fix build with recent SDL_mixer
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Mar 2025 17:38:09 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=238a83e0ea9053798af185ec317d8488c32fc2e0
commit 238a83e0ea9053798af185ec317d8488c32fc2e0
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2025-03-17 17:37:37 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2025-03-17 17:37:58 +0000
games/meandmyshadow: fix build with recent SDL_mixer
---
games/meandmyshadow/files/patch-src_MusicManager.h | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/games/meandmyshadow/files/patch-src_MusicManager.h b/games/meandmyshadow/files/patch-src_MusicManager.h
new file mode 100644
index 000000000000..725106c0b795
--- /dev/null
+++ b/games/meandmyshadow/files/patch-src_MusicManager.h
@@ -0,0 +1,17 @@
+--- src/MusicManager.h.orig 2018-11-03 03:51:57 UTC
++++ src/MusicManager.h
+@@ -20,12 +20,11 @@
+ #ifndef MUSICMANAGER_H
+ #define MUSICMANAGER_H
+
++#include <SDL2/SDL_mixer.h>
++
+ #include <string>
+ #include <map>
+ #include <vector>
+-
+-struct _Mix_Music;
+-typedef struct _Mix_Music Mix_Music;
+
+ //Class for loading and playing the music.
+ class MusicManager{