From: | "Hanno Boeck (hanno)" <hanno@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/fontforge/files: fontforge-py27.diff |
Date: | Tue, 30 Nov 2010 23:41:55 |
Message-Id: | 20101130234138.ED1AF20057@flycatcher.gentoo.org |
1 | hanno 10/11/30 23:41:38 |
2 | |
3 | Added: fontforge-py27.diff |
4 | Log: |
5 | fontforge python 2.7 fix |
6 | |
7 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/fontforge/files/fontforge-py27.diff |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fontforge/files/fontforge-py27.diff?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fontforge/files/fontforge-py27.diff?rev=1.1&content-type=text/plain |
14 | |
15 | Index: fontforge-py27.diff |
16 | =================================================================== |
17 | --- fontforge/ffpython.h 2010/02/04 17:42:36 1.8 |
18 | +++ fontforge/ffpython.h 2010/09/12 08:30:00 1.9 |
19 | @@ -62,7 +62,7 @@ |
20 | #define PyMODINIT_FUNC void |
21 | #endif |
22 | |
23 | -#if PY_MAJOR_VERSION < 2 || (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION <= 5) |
24 | +#if PY_MAJOR_VERSION < 2 || (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION <= 7) |
25 | #define PyBytesObject PyStringObject |
26 | #define PyBytes_Type PyString_Type |