1 diff -Nru SDL_ttf-2.0.8.orig/SDL_ttf.c SDL_ttf-2.0.8/SDL_ttf.c
2 --- SDL_ttf-2.0.8.orig/SDL_ttf.c 2006-05-01 11:26:17.000000000 +0200
3 +++ SDL_ttf-2.0.8/SDL_ttf.c 2007-01-03 13:32:42.438178717 +0100
5 #include <freetype/freetype.h>
6 #include <freetype/ftoutln.h>
7 #include <freetype/ttnameid.h>
9 -#include <freetype/internal/ftobjs.h>
11 +#include <freetype/internal/ftobjs.h>
13 #ifndef FT_OPEN_STREAM
14 #define FT_OPEN_STREAM ft_open_stream
18 memset(stream, 0, sizeof(*stream));
20 - stream->memory = library->memory;
21 + stream->memory = NULL;
22 stream->read = RWread;
23 stream->descriptor.pointer = src;
24 stream->pos = (unsigned long)position;