summarylogtreecommitdiffstats
path: root/freetype2.patch
diff options
context:
space:
mode:
authornemaeon2016-10-19 17:31:02 -0400
committernemaeon2016-10-19 17:31:02 -0400
commita9d876724ca649cfb5a5d7438a510807342e1d29 (patch)
tree1dfe91eced9325154ad510ebd40e5e5e2bbea40b /freetype2.patch
parent7d22e5e8a89b8ae170fa10da6a4bbf2f512bcefb (diff)
downloadaur-a9d876724ca649cfb5a5d7438a510807342e1d29.tar.gz
Update with patch to fix freetype2 for compilation success.
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 000000000000..c073c2dcc7cd
--- /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