Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/imaging/files: imaging-1.1.7-ft-header-include.patch
Date: Wed, 30 Jul 2014 01:21:30
Message-Id: 20140730012124.18E2620035@flycatcher.gentoo.org
1 vapier 14/07/30 01:21:22
2
3 Added: imaging-1.1.7-ft-header-include.patch
4 Log:
5 Fix from Chromium OS for building w/freetype-2.5.3 #508748 by Stefan Kalis.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
8
9 Revision Changes Path
10 1.1 dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch?rev=1.1&content-type=text/plain
14
15 Index: imaging-1.1.7-ft-header-include.patch
16 ===================================================================
17 https://bugs.gentoo.org/508748
18
19 fix building w/freetype-2.5.3
20
21 patch by Jungshik Shin <jshin@××××××××.org>
22
23 --- Imaging-1.1.7/_imagingft.c
24 +++ Imaging-1.1.7/_imagingft.c
25 @@ -70,7 +70,11 @@
26 const char* message;
27 } ft_errors[] =
28
29 +#if defined(USE_FREETYPE_2_1)
30 +#include FT_ERRORS_H
31 +#else
32 #include <freetype/fterrors.h>
33 +#endif
34
35 /* -------------------------------------------------------------------- */
36 /* font objects */