summaryrefslogtreecommitdiff
path: root/media-libs/sge/files/sge-030809-freetype.patch
blob: 7b638e4100f9dd1a9d00560b98ea2ddd4375b2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- sge_tt_text.cpp
+++ sge_tt_text.cpp
@@ -36,10 +36,9 @@
 #include "sge_textpp.h"
 
 #ifndef _SGE_NOTTF
-#include <freetype/freetype.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
-#include <freetype/internal/ftobjs.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_OUTLINE_H
 
 /* The structure used to hold glyph information (cached) */
 struct glyph {
@@ -294,7 +293,7 @@
 	}
 	memset(stream, 0, sizeof(*stream));
 
-	stream->memory = _sge_library->memory;
+	stream->memory = NULL;
 	stream->read = RWread;
 	stream->descriptor.pointer = src;
 	stream->pos = (unsigned long)position;