updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / sge / sge-030809-freetype.patch
blob7b638e4100f9dd1a9d00560b98ea2ddd4375b2b0
1 --- sge_tt_text.cpp
2 +++ sge_tt_text.cpp
3 @@ -36,10 +36,9 @@
4 #include "sge_textpp.h"
6 #ifndef _SGE_NOTTF
7 -#include <freetype/freetype.h>
8 -#include <freetype/ftoutln.h>
9 -#include <freetype/ttnameid.h>
10 -#include <freetype/internal/ftobjs.h>
11 +#include <ft2build.h>
12 +#include FT_FREETYPE_H
13 +#include FT_OUTLINE_H
15 /* The structure used to hold glyph information (cached) */
16 struct glyph {
17 @@ -294,7 +293,7 @@
19 memset(stream, 0, sizeof(*stream));
21 - stream->memory = _sge_library->memory;
22 + stream->memory = NULL;
23 stream->read = RWread;
24 stream->descriptor.pointer = src;
25 stream->pos = (unsigned long)position;