aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2025-01-07 11:04:45 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2025-01-07 11:06:50 +0000
commit5a2c00b01723f976032b8c13d17ce178350f9579 (patch)
treefcfd9190fdfe4d549f62ce3dc07c19e5c5aa7620
parent816ecff18e5dcf9aa7af1fe30c640118ec79f4ae (diff)
games/trackballs: Fix build for sdl2_ttf upgrade
PR: 283868 Reported by: diizzy
-rw-r--r--games/trackballs/files/patch-src-glHelp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/trackballs/files/patch-src-glHelp.h b/games/trackballs/files/patch-src-glHelp.h
new file mode 100644
index 000000000000..69080089246e
--- /dev/null
+++ b/games/trackballs/files/patch-src-glHelp.h
@@ -0,0 +1,12 @@
+--- src/glHelp.h.orig 2022-12-23 18:52:49 UTC
++++ src/glHelp.h
+@@ -27,7 +27,8 @@
+
+ #include "general.h"
+
+-typedef struct _TTF_Font TTF_Font;
++#include <SDL2/SDL_ttf.h>
++
+ typedef struct SDL_Surface SDL_Surface;
+ class Map;
+ class Game;