From 2708a11bbb654677dd4163b09b67a94c2d44daf4 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sun, 29 Jun 2025 19:37:08 +0800 Subject: [PATCH] textproc/py-openstep-plist: Allow build with cython 3.1.0+ - Bump PORTREVISION for package change --- textproc/py-openstep-plist/Makefile | 1 + textproc/py-openstep-plist/files/patch-cython | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 textproc/py-openstep-plist/files/patch-cython diff --git a/textproc/py-openstep-plist/Makefile b/textproc/py-openstep-plist/Makefile index e35933298376..0941ad63e8fd 100644 --- a/textproc/py-openstep-plist/Makefile +++ b/textproc/py-openstep-plist/Makefile @@ -1,5 +1,6 @@ PORTNAME= openstep-plist PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/textproc/py-openstep-plist/files/patch-cython b/textproc/py-openstep-plist/files/patch-cython new file mode 100644 index 000000000000..f813cb147589 --- /dev/null +++ b/textproc/py-openstep-plist/files/patch-cython @@ -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 (