aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-03-19 00:42:48 +0800
committerlofi <lofi@FreeBSD.org>2004-03-19 00:42:48 +0800
commit974e0727fe9354196384117d5e1a66fc98240538 (patch)
tree874c5b0b2363f705cb2aa0bab54282fc4ffaadf2 /graphics
parent7a757557f38719f8b237177a69e6a3a549dc80fe (diff)
downloadfreebsd-ports-gnome-974e0727fe9354196384117d5e1a66fc98240538.tar.gz
freebsd-ports-gnome-974e0727fe9354196384117d5e1a66fc98240538.tar.zst
freebsd-ports-gnome-974e0727fe9354196384117d5e1a66fc98240538.zip
Fix build with freetype2-2.1.7.
Submitted by: Jeremy Prior <jez@netcraft.com>
Diffstat (limited to 'graphics')
-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>