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) --- graphics/sdl_ttf/files/patch-SDL_ttf.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 graphics/sdl_ttf/files/patch-SDL_ttf.c (limited to 'graphics/sdl_ttf/files/patch-SDL_ttf.c') 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..dbfadc22790f --- /dev/null +++ b/graphics/sdl_ttf/files/patch-SDL_ttf.c @@ -0,0 +1,19 @@ +--- SDL_ttf.c.orig Mon May 1 05:26:17 2006 ++++ SDL_ttf.c Sun Sep 24 15:46:44 2006 +@@ -48,7 +48,6 @@ + #include + #include + */ +-#include + + #ifndef FT_OPEN_STREAM + #define FT_OPEN_STREAM ft_open_stream +@@ -278,7 +277,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