Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 572224 Details for
Bug 682870
dev-python/pycairo-1.17.0-r1 fails test with pypy3: "undefined symbol: PyOS_FSPath"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pycairo-1.7.0-r1-dont-use-PyOS_FSPath-with-pypy3.6.patch
pycairo-1.7.0-r1-dont-use-PyOS_FSPath-with-pypy3.6.patch (text/plain), 952 bytes, created by
Paolo Pedroni
on 2019-04-08 11:27:19 UTC
(
hide
)
Description:
pycairo-1.7.0-r1-dont-use-PyOS_FSPath-with-pypy3.6.patch
Filename:
MIME Type:
Creator:
Paolo Pedroni
Created:
2019-04-08 11:27:19 UTC
Size:
952 bytes
patch
obsolete
>From e616e810fc3317e0b91d0b8cef52875a112d4e39 Mon Sep 17 00:00:00 2001 >From: Christoph Reiter <reiter.christoph@gmail.com> >Date: Sat, 2 Mar 2019 19:00:30 +0100 >Subject: [PATCH] Don't use PyOS_FSPath() with PyPy3.6 > >The latest PyPy 3.6 release doesn't implement PyOS_FSPath, so don't use >it for now. >--- > cairo/misc.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/cairo/misc.c b/cairo/misc.c >index 27a8e00..cb0b428 100644 >--- a/cairo/misc.c >+++ b/cairo/misc.c >@@ -41,7 +41,9 @@ int > Pycairo_is_fspath (PyObject *obj) { > #if PY_MAJOR_VERSION < 3 > return (PyString_Check (obj) || PyUnicode_Check (obj)); >-#elif PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 6 >+#elif PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 6 && !defined(PYPY_VERSION) >+ /* PyOS_FSPath() is missing in PyPy: >+ * https://bitbucket.org/pypy/pypy/issues/2961 */ > PyObject *real = PyOS_FSPath (obj); > if (real == NULL) { > PyErr_Clear ();
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 682870
:
572222
| 572224 |
572226