39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
|
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>
|