Date: Tue, 7 Jan 2025 19:01:30 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1b1f3d6af7f2 - main - games/meandmyshadow: Fix compatibility with sdl2_ttf 2.24.0 Message-ID: <202501071901.507J1UoT017070@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b1f3d6af7f27f428b7cf4c14a022c8b71a18e6c commit 1b1f3d6af7f27f428b7cf4c14a022c8b71a18e6c Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2025-01-07 19:00:10 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2025-01-07 19:01:26 +0000 games/meandmyshadow: Fix compatibility with sdl2_ttf 2.24.0 PR: 283867 Reported by: diizzy --- games/meandmyshadow/files/patch-src_Render.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/games/meandmyshadow/files/patch-src_Render.h b/games/meandmyshadow/files/patch-src_Render.h new file mode 100644 index 000000000000..7772272af6e0 --- /dev/null +++ b/games/meandmyshadow/files/patch-src_Render.h @@ -0,0 +1,19 @@ +--- src/Render.h.orig 2018-11-03 03:51:57 UTC ++++ src/Render.h +@@ -1,14 +1,11 @@ + #ifndef RENDER_H + #define RENDER_H + ++#include <SDL_ttf.h> ++ + #include <memory> + + #include "ImageManager.h" +- +-// The forward declaration of TTF_Font is clunky like this +-// as it's forward declared like this in SDL_ttf.h +-struct _TTF_Font; +-typedef struct _TTF_Font TTF_Font; + + // Deleter functor for textures. + struct TextureDeleter {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501071901.507J1UoT017070>