summarylogtreecommitdiffstats
path: root/freetype2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'freetype2.patch')
-rw-r--r--freetype2.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/freetype2.patch b/freetype2.patch
new file mode 100644
index 00000000000..c073c2dcc7c
--- /dev/null
+++ b/freetype2.patch
@@ -0,0 +1,26 @@
+--- a/splashutils-1.5.4.4/src/ttf.c
++++ b/splashutils-1.5.4.4/src/ttf.c
+@@ -27,8 +27,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 "splash.h"
+
+--- a/splashutils-1.5.4.4/src/ttf.h
++++ b/splashutils-1.5.4.4/src/ttf.h
+@@ -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