File meandmyshadow-fix-sdl_ttf.patch of Package meandmyshadow
diff -Nur meandmyshadow-0.5a-orig/src/Render.cpp meandmyshadow-0.5a/src/Render.cpp
--- meandmyshadow-0.5a-orig/src/Render.cpp 2018-11-03 04:51:57.000000000 +0100
+++ meandmyshadow-0.5a/src/Render.cpp 2025-02-08 16:49:04.467935349 +0100
@@ -1,5 +1,4 @@
#include <SDL_render.h>
-#include <SDL_ttf.h>
#include <iostream>
diff -Nur meandmyshadow-0.5a-orig/src/Render.h meandmyshadow-0.5a/src/Render.h
--- meandmyshadow-0.5a-orig/src/Render.h 2018-11-03 04:51:57.000000000 +0100
+++ meandmyshadow-0.5a/src/Render.h 2025-02-08 16:49:36.396176704 +0100
@@ -4,11 +4,7 @@
#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;
+#include <SDL_ttf.h>
// Deleter functor for textures.
struct TextureDeleter {