Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/graphite2/files: graphite2-1.2.0-solaris.patch
Date: Fri, 28 Dec 2012 11:37:55
Message-Id: 20121228113740.8939B2171D@flycatcher.gentoo.org
1 grobian 12/12/28 11:37:40
2
3 Added: graphite2-1.2.0-solaris.patch
4 Log:
5 Fixed and keyworded for ~x64-solaris
6
7 (Portage version: 2.2.01.21418-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
8
9 Revision Changes Path
10 1.1 media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch?rev=1.1&content-type=text/plain
14
15 Index: graphite2-1.2.0-solaris.patch
16 ===================================================================
17 Bidi: undef conflicting constants
18
19 On Solaris ES and CS are already defined, resulting in compilation
20 errors. Since we won't need Solaris' ones here, simply undef them.
21
22 --- graphite2-1.2.0/src/Bidi.cpp
23 +++ graphite2-1.2.0/src/Bidi.cpp
24 @@ -30,6 +30,14 @@
25
26 using namespace graphite2;
27
28 +/* Solaris' headers define these */
29 +#ifdef ES
30 +# undef ES
31 +#endif
32 +#ifdef CS
33 +# undef CS
34 +#endif
35 +
36 enum DirCode { // Hungarian: dirc
37 Unk = -1,
38 N = 0, // other neutrals (default) - ON