Magellan Linux

Contents of /trunk/sdl-ttf/patches/sdl-ttf-2.0.8-noftinternals.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 803 byte(s)
-import

1 diff -ur 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-08-31 13:44:21.000000000 +0200
3 +++ SDL_ttf-2.0.8/SDL_ttf.c 2006-08-31 13:44:34.000000000 +0200
4 @@ -43,16 +43,6 @@
5 #include FT_FREETYPE_H
6 #include FT_OUTLINE_H
7 #include FT_TRUETYPE_IDS_H
8 -/*
9 -#include <freetype/freetype.h>
10 -#include <freetype/ftoutln.h>
11 -#include <freetype/ttnameid.h>
12 -*/
13 -#include <freetype/internal/ftobjs.h>
14 -
15 -#ifndef FT_OPEN_STREAM
16 -#define FT_OPEN_STREAM ft_open_stream
17 -#endif
18
19 #include "SDL.h"
20 #include "SDL_endian.h"
21 @@ -278,7 +268,7 @@
22 }
23 memset(stream, 0, sizeof(*stream));
24
25 - stream->memory = library->memory;
26 + stream->memory = NULL; /* set by FT_Open_Face */
27 stream->read = RWread;
28 stream->descriptor.pointer = src;
29 stream->pos = (unsigned long)position;