git: 5a2c00b01723 - main - games/trackballs: Fix build for sdl2_ttf upgrade

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Tue, 07 Jan 2025 11:06:58 UTC
The branch main has been updated by martymac:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a2c00b01723f976032b8c13d17ce178350f9579

commit 5a2c00b01723f976032b8c13d17ce178350f9579
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2025-01-07 11:04:45 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2025-01-07 11:06:50 +0000

    games/trackballs: Fix build for sdl2_ttf upgrade
    
    PR:     283868
    Reported by:    diizzy
---
 games/trackballs/files/patch-src-glHelp.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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;