mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
games/meandmyshadow: Fix compatibility with sdl2_ttf 2.24.0
PR: 283867 Reported by: diizzy
This commit is contained in:
parent
127777fd65
commit
1b1f3d6af7
1 changed files with 19 additions and 0 deletions
19
games/meandmyshadow/files/patch-src_Render.h
Normal file
19
games/meandmyshadow/files/patch-src_Render.h
Normal file
|
@ -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 {
|
Loading…
Add table
Reference in a new issue