$NetBSD: patch-aa,v 1.3 2006/06/12 16:24:44 wiz Exp $ From http://www.freetype.org/freetype2/patches/SDL_ttf-2.0.7-noftinternals.patch --- SDL_ttf.c.orig 2006-05-01 09:26:17.000000000 +0000 +++ SDL_ttf.c @@ -43,16 +43,6 @@ #include FT_FREETYPE_H #include FT_OUTLINE_H #include FT_TRUETYPE_IDS_H -/* -#include -#include -#include -*/ -#include - -#ifndef FT_OPEN_STREAM -#define FT_OPEN_STREAM ft_open_stream -#endif #include "SDL.h" #include "SDL_endian.h" @@ -278,7 +268,7 @@ TTF_Font* TTF_OpenFontIndexRW( SDL_RWops } memset(stream, 0, sizeof(*stream)); - stream->memory = library->memory; + stream->memory = NULL; /* set by FT_Open_Face */ stream->read = RWread; stream->descriptor.pointer = src; stream->pos = (unsigned long)position;