Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242289 Details for
Bug 327113
media-gfx/fontforge fails to build with Python 2.7 (PyBytes_Decode)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to make fontforge compile on python-2.7
fontforge-py27.patch (text/plain), 542 bytes, created by
Steffen Schaumburg
on 2010-08-10 19:38:08 UTC
(
hide
)
Description:
patch to make fontforge compile on python-2.7
Filename:
MIME Type:
Creator:
Steffen Schaumburg
Created:
2010-08-10 19:38:08 UTC
Size:
542 bytes
patch
obsolete
>diff --git a/fontforge/ffpython.h b/fontforge/ffpython.h >index e81c3ec..70ba318 100644 >--- a/fontforge/ffpython.h >+++ b/fontforge/ffpython.h >@@ -43,7 +43,7 @@ > > #define STRING_CHECK PyBytes_Check > #define STRING_TO_PY PyBytes_FromString >-#define DECODE_UTF8(s, size, errors) PyBytes_Decode(s, size, "UTF-8", errors) >+#define DECODE_UTF8(s, size, errors) PyString_Decode(s, size, "UTF-8", errors) > #define PYBYTES_UTF8(str) PyString_AsEncodedObject(str, "UTF-8", NULL) > #define STRING_FROM_FORMAT PyBytes_FromFormat >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 327113
:
237703
| 242289 |
242291