Magellan Linux

Contents of /trunk/gimp/patches/gimp-2.8.10-freetype251.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2400 - (show annotations) (download)
Wed Feb 5 09:47:17 2014 UTC (10 years, 2 months ago) by niro
File size: 679 byte(s)
-fixed build against >=freetype-2.5.1
1 From 6c73f28b6d87a2afd11974552a075bffec52347f Mon Sep 17 00:00:00 2001
2 From: Michael Natterer <mitch@gimp.org>
3 Date: Fri, 29 Nov 2013 20:57:46 +0000
4 Subject: Bug 719560 - Build failure with freetype 2.5.1
5
6 Apply patch from su-v that fixes the freetype include to
7 the madness devised and recommended by freetype.
8 ---
9 diff --git a/app/text/gimpfont.c b/app/text/gimpfont.c
10 index 4045ca9..66c6e52 100644
11 --- a/app/text/gimpfont.c
12 +++ b/app/text/gimpfont.c
13 @@ -28,7 +28,9 @@
14
15 #define PANGO_ENABLE_ENGINE 1 /* Argh */
16 #include <pango/pango-ot.h>
17 -#include <freetype/tttables.h>
18 +
19 +#include <ft2build.h>
20 +#include FT_TRUETYPE_TABLES_H
21
22 #include "text-types.h"
23
24 --
25 cgit v0.9.2