]> git.pld-linux.org Git - packages/SDL_ttf.git/blob - SDL_ttf-ft2build_h.patch
- updated ft2build_h patch to fix build with freetype 2.2.x
[packages/SDL_ttf.git] / SDL_ttf-ft2build_h.patch
1 --- SDL_ttf-2.0.8/SDL_ttf.c.orig        2006-05-21 23:23:20.169387000 +0200
2 +++ SDL_ttf-2.0.8/SDL_ttf.c     2006-05-21 23:24:21.793239000 +0200
3 @@ -43,16 +43,6 @@
4  #include FT_FREETYPE_H
5  #include FT_OUTLINE_H
6  #include FT_TRUETYPE_IDS_H
7 -/*
8 -#include <freetype/freetype.h>
9 -#include <freetype/ftoutln.h>
10 -#include <freetype/ttnameid.h>
11 -*/
12 -#include <freetype/internal/ftobjs.h>
13 -
14 -#ifndef FT_OPEN_STREAM
15 -#define FT_OPEN_STREAM ft_open_stream
16 -#endif
17  
18  #include "SDL.h"
19  #include "SDL_endian.h"
20 @@ -278,7 +268,7 @@
21         }
22         memset(stream, 0, sizeof(*stream));
23  
24 -       stream->memory = library->memory;
25 +       stream->memory = NULL;  /* set by FT_Open_Face */
26         stream->read = RWread;
27         stream->descriptor.pointer = src;
28         stream->pos = (unsigned long)position;
This page took 0.032097 seconds and 3 git commands to generate.