From 29747f458a1eb2ce23b4594b09d0256dd62760b8 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 14 Oct 2006 08:54:54 +0000 Subject: Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris) --- emulators/mupen64-sdlinput/files/patch-SDL_ttf.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'emulators/mupen64-sdlinput/files/patch-SDL_ttf.c') diff --git a/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c b/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c index f0e6a0abe42b..c428262407bc 100644 --- a/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c +++ b/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c @@ -1,6 +1,6 @@ ---- src/SDL_ttf.c.orig Wed Oct 15 02:44:17 2003 -+++ src/SDL_ttf.c Thu Aug 12 15:06:42 2004 -@@ -39,7 +39,8 @@ +--- src/SDL_ttf.c.orig Tue Oct 14 20:44:17 2003 ++++ src/SDL_ttf.c Wed Oct 4 08:38:49 2006 +@@ -39,10 +39,10 @@ #define FREEA(p) free(p) #endif @@ -9,4 +9,16 @@ +#include FT_FREETYPE_H #include #include - #include +-#include + + /** hack **/ + #ifndef ft_open_stream +@@ -272,7 +272,7 @@ + } + memset(stream, 0, sizeof(*stream)); + +- stream->memory = library->memory; ++ stream->memory = NULL; + stream->read = RWread; + stream->descriptor.pointer = src; + stream->pos = (unsigned long)position; -- cgit v1.2.3