textproc/py-openstep-plist: Allow build with cython 3.1.0+

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2025-06-29 19:37:08 +08:00
parent a5665fd9be
commit 2708a11bbb
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= openstep-plist
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -0,0 +1,10 @@
--- src/openstep_plist/writer.pyx.orig 2025-01-30 18:15:19 UTC
+++ src/openstep_plist/writer.pyx
@@ -17,6 +17,7 @@ from libc.stdint cimport uint16_t
from cpython.mem cimport PyMem_Free
from libcpp.vector cimport vector
from libc.stdint cimport uint16_t
+from ctypes import c_long as long
cimport cython
from .util cimport (