aboutsummaryrefslogtreecommitdiff
path: root/graphics/sdl_ttf
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-03-18 16:42:48 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-03-18 16:42:48 +0000
commitd02410e2b48e2b99c8120eb07a9c95b233404863 (patch)
treeba2f3072e20bc7e692a3b63cd9c64226a1c1b3d5 /graphics/sdl_ttf
parenteada7232c7bb0a9486153cbaba4ede3d03f3cdbe (diff)
downloadports-d02410e2b48e2b99c8120eb07a9c95b233404863.tar.gz
ports-d02410e2b48e2b99c8120eb07a9c95b233404863.zip
Fix build with freetype2-2.1.7.
Submitted by: Jeremy Prior <jez@netcraft.com>
Notes
Notes: svn path=/head/; revision=104493
Diffstat (limited to 'graphics/sdl_ttf')
-rw-r--r--graphics/sdl_ttf/files/patch-SDL_ttf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/sdl_ttf/files/patch-SDL_ttf.c b/graphics/sdl_ttf/files/patch-SDL_ttf.c
new file mode 100644
index 000000000000..2a90e8105fba
--- /dev/null
+++ b/graphics/sdl_ttf/files/patch-SDL_ttf.c
@@ -0,0 +1,12 @@
+--- SDL_ttf.c.orig Thu Mar 18 15:06:45 2004
++++ SDL_ttf.c Thu Mar 18 15:07:13 2004
+@@ -39,7 +39,8 @@
+ #define FREEA(p) free(p)
+ #endif
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include <freetype/ftoutln.h>
+ #include <freetype/ttnameid.h>
+ #include <freetype/internal/ftobjs.h>