aboutsummaryrefslogtreecommitdiff
path: root/libraries/wxPython4/cython.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wxPython4/cython.patch')
-rw-r--r--libraries/wxPython4/cython.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/wxPython4/cython.patch b/libraries/wxPython4/cython.patch
new file mode 100644
index 0000000000000..3e1a2a0377d40
--- /dev/null
+++ b/libraries/wxPython4/cython.patch
@@ -0,0 +1,16 @@
+Fix compatibility with Cython 3.0.0
+Remove unused import which seems to be removed in Cython 3.
+https://github.com/wxWidgets/Phoenix/issues/2439
+https://github.com/wxWidgets/Phoenix/pull/2441
+https://github.com/wxWidgets/Phoenix/issues/2514
+https://github.com/wxWidgets/Phoenix/commit/aeb557d01e7cd37176ebbf0f1ae6d0b53c115378
+--- wx/svg/_nanosvg.pyx.orig
++++ wx/svg/_nanosvg.pyx
+@@ -42,7 +42,6 @@ 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)