ports/graphics/sdl_ttf/files/patch-SDL_ttf.c
Joe Marcus Clarke 29747f458a 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)
2006-10-14 08:54:54 +00:00

19 lines
499 B
C

--- 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 <freetype/ftoutln.h>
#include <freetype/ttnameid.h>
*/
-#include <freetype/internal/ftobjs.h>
#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;