summarylogtreecommitdiffstats
path: root/fbsplash-freetype-fix.patch
blob: 55ad203da2eb967c0d7cc0f6f4f440dfc1506997 (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
26
27
28
diff -ruN a/src/ttf.c b/src/ttf.c
--- a/src/ttf.c	2011-06-12 17:43:39.000000000 -0400
+++ b/src/ttf.c	2014-09-11 12:20:14.076012078 -0400
@@ -25,8 +25,8 @@
 #include <assert.h>
 
 #include <ft2build.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_IDS_H
 
 #include "common.h"
 #include "render.h"
diff -ruN a/src/ttf.h b/src/ttf.h
--- a/src/ttf.h	2011-06-12 17:43:39.000000000 -0400
+++ b/src/ttf.h	2014-09-11 12:20:14.069012078 -0400
@@ -1,8 +1,8 @@
 #ifndef _TTF_H
 #define _TTF_H
 #include <ft2build.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_IDS_H
 
 #define CACHED_METRICS  0x10
 #define CACHED_BITMAP   0x01