diff options
Diffstat (limited to 'meta-oe/recipes-graphics/gimp/gimp/freetype.patch')
-rw-r--r-- | meta-oe/recipes-graphics/gimp/gimp/freetype.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/gimp/gimp/freetype.patch b/meta-oe/recipes-graphics/gimp/gimp/freetype.patch new file mode 100644 index 000000000..ed6c09791 --- /dev/null +++ b/meta-oe/recipes-graphics/gimp/gimp/freetype.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Include the freetype headers via macros ( recommended way) | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Backport | ||
5 | |||
6 | From 6c73f28b6d87a2afd11974552a075bffec52347f Mon Sep 17 00:00:00 2001 | ||
7 | From: Michael Natterer <mitch@gimp.org> | ||
8 | Date: Fri, 29 Nov 2013 20:57:46 +0000 | ||
9 | Subject: Bug 719560 - Build failure with freetype 2.5.1 | ||
10 | |||
11 | Apply patch from su-v that fixes the freetype include to | ||
12 | the madness devised and recommended by freetype. | ||
13 | --- | ||
14 | diff --git a/app/text/gimpfont.c b/app/text/gimpfont.c | ||
15 | index 4045ca9..66c6e52 100644 | ||
16 | --- a/app/text/gimpfont.c | ||
17 | +++ b/app/text/gimpfont.c | ||
18 | @@ -28,7 +28,9 @@ | ||
19 | |||
20 | #define PANGO_ENABLE_ENGINE 1 /* Argh */ | ||
21 | #include <pango/pango-ot.h> | ||
22 | -#include <freetype/tttables.h> | ||
23 | + | ||
24 | +#include <ft2build.h> | ||
25 | +#include FT_TRUETYPE_TABLES_H | ||
26 | |||
27 | #include "text-types.h" | ||
28 | |||
29 | -- | ||
30 | cgit v0.9.2 | ||