aboutsummaryrefslogtreecommitdiff
path: root/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c
blob: c428262407bc039abc9138526e14888dc006f85a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/SDL_ttf.c.orig	Tue Oct 14 20:44:17 2003
+++ src/SDL_ttf.c	Wed Oct  4 08:38:49 2006
@@ -39,10 +39,10 @@
 #define FREEA(p) free(p)
 #endif
 
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 #include <freetype/ftoutln.h>
 #include <freetype/ttnameid.h>
-#include <freetype/internal/ftobjs.h>
 
 /** hack **/
 #ifndef ft_open_stream
@@ -272,7 +272,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;