Package: love / 0.9.1-3

fix-freetype-includes.patch Patch series | download
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
Description: Fix build failure with freetype 2.5.1
Author: Juhani Numminen <juhaninumminen0@gmail.com>
Bug-Debian: http://bugs.debian.org/733357

Index: love-0.9.1/src/modules/font/freetype/Font.h
===================================================================
--- love-0.9.1.orig/src/modules/font/freetype/Font.h	2014-04-11 17:46:04.143947394 +0200
+++ love-0.9.1/src/modules/font/freetype/Font.h	2014-04-11 17:46:04.143947394 +0200
@@ -32,6 +32,8 @@
 #endif
 #include FT_FREETYPE_H
 #include FT_GLYPH_H
+#include FT_OUTLINE_H
+#include FT_TRIGONOMETRY_H
 
 namespace love
 {
Index: love-0.9.1/src/modules/font/freetype/TrueTypeRasterizer.h
===================================================================
--- love-0.9.1.orig/src/modules/font/freetype/TrueTypeRasterizer.h	2014-04-11 17:46:04.143947394 +0200
+++ love-0.9.1/src/modules/font/freetype/TrueTypeRasterizer.h	2014-04-11 17:46:04.143947394 +0200
@@ -29,6 +29,8 @@
 #include <ft2build.h>
 #include FT_FREETYPE_H
 #include FT_GLYPH_H
+#include FT_OUTLINE_H
+#include FT_TRIGONOMETRY_H
 
 namespace love
 {