CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fbset: updated .footprint
[attic/ports/opt-cross.git] / sdl_ttf / sdl_ttf-noftinternals.patch
CommitLineData
24a92bb1
JB
1diff -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
4@@ -47,9 +47,9 @@
5 #include <freetype/freetype.h>
6 #include <freetype/ftoutln.h>
7 #include <freetype/ttnameid.h>
8-*/
9-#include <freetype/internal/ftobjs.h>
10
11+#include <freetype/internal/ftobjs.h>
12+*/
13 #ifndef FT_OPEN_STREAM
14 #define FT_OPEN_STREAM ft_open_stream
15 #endif
16@@ -278,7 +278,7 @@
17 }
18 memset(stream, 0, sizeof(*stream));
19
20- stream->memory = library->memory;
21+ stream->memory = NULL;
22 stream->read = RWread;
23 stream->descriptor.pointer = src;
24 stream->pos = (unsigned long)position;