blob: 7e1956b56cff2a29becdd75f5a75a48cfe6b2c17 (
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
|
Fix build with freetype 2.5.1.
https://bugzilla.gnome.org/show_bug.cgi?id=719592
--- libgnomeprint/gnome-font-face.c.orig 2010-02-09 06:32:51.000000000 -0600
+++ libgnomeprint/gnome-font-face.c 2013-11-30 04:10:52.000000000 -0600
@@ -36,7 +36,8 @@
#include <stdarg.h>
#include <locale.h>
-#include <freetype/ftoutln.h>
+#include <ft2build.h>
+#include FT_OUTLINE_H
#include <libgnomeprint/gnome-print-private.h>
#include <libgnomeprint/gnome-font-private.h>
--- libgnomeprint/gnome-print-gdi.c.orig 2010-02-09 06:32:51.000000000 -0600
+++ libgnomeprint/gnome-print-gdi.c 2013-11-30 04:10:07.000000000 -0600
@@ -36,7 +36,7 @@
#include <libgnomeprint/gp-gc-private.h>
#include <ft2build.h>
-#include <freetype/freetype.h>
+#include FT_FREETYPE_H
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
--- libgnomeprint/gnome-rfont.c.orig 2010-02-09 06:32:51.000000000 -0600
+++ libgnomeprint/gnome-rfont.c 2013-11-30 04:09:50.000000000 -0600
@@ -28,8 +28,8 @@
#include <ft2build.h>
#include FT_FREETYPE_H
-#include <freetype/ftglyph.h>
-#include <freetype/ftbbox.h>
+#include FT_GLYPH_H
+#include FT_BBOX_H
#include <libart_lgpl/art_misc.h>
#include <libart_lgpl/art_affine.h>
#include <libart_lgpl/art_vpath.h>
|