git: 48c790621545 - main - devel/py-libplist: Allow build with cython 3.1.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 26 Jun 2025 11:34:29 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=48c79062154564d586b5ce7e283ef0629abb9c3e

commit 48c79062154564d586b5ce7e283ef0629abb9c3e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 10:04:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 11:30:18 +0000

    devel/py-libplist: Allow build with cython 3.1.0+
    
    - Bump PORTREVISION for package change
---
 devel/libplist/files/patch-cython | 10 ++++++++++
 devel/py-libplist/Makefile        |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/devel/libplist/files/patch-cython b/devel/libplist/files/patch-cython
new file mode 100644
index 000000000000..f56e301a3800
--- /dev/null
+++ b/devel/libplist/files/patch-cython
@@ -0,0 +1,10 @@
+--- cython/plist.pyx.orig	2024-05-13 17:37:06 UTC
++++ cython/plist.pyx
+@@ -1,6 +1,7 @@ from libc.stdint cimport *
+ cimport cpython
+ cimport libc.stdlib
+ from libc.stdint cimport *
++from ctypes import c_long as long
+ 
+ cdef extern from *:
+     ctypedef enum plist_type:
diff --git a/devel/py-libplist/Makefile b/devel/py-libplist/Makefile
index e4d97860fb00..3d9b31ece40d 100644
--- a/devel/py-libplist/Makefile
+++ b/devel/py-libplist/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}