x11/py-wxPython: Actually add upstream patch

This commit is contained in:
gdt 2023-11-20 12:24:39 +00:00
parent 21699aa201
commit 71997f0646
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
$NetBSD: patch-wx_svg___nanosvg.pyx,v 1.1 2023/11/20 12:24:39 gdt Exp $
Fix build with cython 3.
Taken from https://github.com/wxWidgets/Phoenix/pull/2441
--- wx/svg/_nanosvg.pyx.orig 2023-11-19 23:51:44.405729624 +0000
+++ wx/svg/_nanosvg.pyx
@@ -42,7 +42,6 @@ for manipulating the SVG shape info in m
import sys
-cimport cython.object
from cpython.buffer cimport (
Py_buffer, PyObject_CheckBuffer, PyObject_GetBuffer, PyBUF_SIMPLE,
PyBuffer_Release)