From: | "Tom Wijsman (tomwij)" <tomwij@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/vlc/files: vlc-2.1.1-freetype-2.5.1-support.patch |
Date: | Sat, 07 Dec 2013 20:19:48 |
Message-Id: | 20131207201943.4807C20005@flycatcher.gentoo.org |
1 | tomwij 13/12/07 20:19:43 |
2 | |
3 | Added: vlc-2.1.1-freetype-2.5.1-support.patch |
4 | Log: |
5 | When freetype-2.5.1 or newer is used, we apply a backported patch to vlc-2.1.1 support it; fixes bug #493496, reported by Ben de Groot (yngwin). |
6 | |
7 | (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-video/vlc/files/vlc-2.1.1-freetype-2.5.1-support.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/files/vlc-2.1.1-freetype-2.5.1-support.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/files/vlc-2.1.1-freetype-2.5.1-support.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: vlc-2.1.1-freetype-2.5.1-support.patch |
16 | =================================================================== |
17 | X-Git-Url: http://git.videolan.org/?p=vlc%2Fvlc-2.1.git;a=blobdiff_plain;f=modules%2Ftext_renderer%2Ffreetype.c;h=c27ec4558956f00b1fd2b448fa07d680a2be5c82;hp=25d6b15650d13982fd8c792df92389fd4de8eadd;hb=4eb6d91e94f720bf2dd22dcfee171e4ff4b790df;hpb=9ebead9dfbdcac2da31bc856cec51c058f5ddca8 |
18 | |
19 | diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c |
20 | index 25d6b15..c27ec45 100644 |
21 | --- a/modules/text_renderer/freetype.c |
22 | +++ b/modules/text_renderer/freetype.c |
23 | @@ -90,10 +90,11 @@ |
24 | #endif |
25 | |
26 | /* Freetype */ |
27 | -#include <freetype/ftsynth.h> |
28 | +#include <ft2build.h> |
29 | #include FT_FREETYPE_H |
30 | #include FT_GLYPH_H |
31 | #include FT_STROKER_H |
32 | +#include FT_SYNTHESIS_H |
33 | |
34 | #define FT_FLOOR(X) ((X & -64) >> 6) |
35 | #define FT_CEIL(X) (((X + 63) & -64) >> 6) |