summaryrefslogtreecommitdiff
path: root/media-gfx/splashutils/files/splashutils-1.5.4.4-ft25.patch
blob: b5194d5499a8c07b1edd370740fbb410c663bf08 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Gentoo-bug: https://bugs.gentoo.org/506124
Signed-off-by: Lars Wendler (Polynomial-C)
Modified-by: Sergey Popov (Pinkbyte)
--- miscsplashutils-0.1.8/fbtruetype/ttf.c
+++ miscsplashutils-0.1.8/fbtruetype/ttf.c
@@ -13,8 +13,8 @@
 #include <ft2build.h>
 #include FT_FREETYPE_H
 /* #include <freetype/freetype.h> */
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_IDS_H
 
 #include "ttf.h"
 
--- splashutils-1.5.4.4/src/ttf.c       2015-02-01 11:35:04.330595381 +0300
+++ splashutils-1.5.4.4/src/ttf.c       2015-02-01 11:35:24.287596342 +0300
@@ -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"
--- splashutils-1.5.4.4/src/ttf.h       2015-02-01 11:38:33.852605470 +0300
+++ splashutils-1.5.4.4/src/ttf.h       2015-02-01 11:38:52.504606368 +0300
@@ -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