summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-09-07 18:31:57 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-09-07 18:31:57 +0000
commit6cedc7d4ff67bef0df13d716decc79fe4e53ed3b (patch)
treecf2ea38c14362c34f716d0b52d588accac4bb80c /dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch
parent3f510e6c89c7265e45726b88bc2a15ef3eca6aed (diff)
downloadbaldeagleos-repo-6cedc7d4ff67bef0df13d716decc79fe4e53ed3b.tar.gz
baldeagleos-repo-6cedc7d4ff67bef0df13d716decc79fe4e53ed3b.tar.xz
baldeagleos-repo-6cedc7d4ff67bef0df13d716decc79fe4e53ed3b.zip
Adding metadata
Diffstat (limited to 'dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch')
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch b/dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch
new file mode 100644
index 000000000000..3961f12e3442
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch
@@ -0,0 +1,13 @@
+diff --git a/wx/svg/_nanosvg.pyx b/wx/svg/_nanosvg.pyx
+index cda04d5ca..d1cae1aa9 100644
+--- a/wx/svg/_nanosvg.pyx
++++ b/wx/svg/_nanosvg.pyx
+@@ -42,7 +42,7 @@ for manipulating the SVG shape info in memory.
+
+ import sys
+
+-cimport cython.object
++
+ from cpython.buffer cimport (
+ Py_buffer, PyObject_CheckBuffer, PyObject_GetBuffer, PyBUF_SIMPLE,
+ PyBuffer_Release)