git: 5a4d8b3e46e5 - main - dns/py-pydnstable: Fix build with cython3

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Thu, 06 Nov 2025 06:23:35 UTC
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a4d8b3e46e57ea165251b41f147e49b72d22498

commit 5a4d8b3e46e57ea165251b41f147e49b72d22498
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2025-11-06 05:48:34 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2025-11-06 06:08:19 +0000

    dns/py-pydnstable: Fix build with cython3
    
    PR:             289075
    Sponsored by:   DomainTools LLC
---
 dns/py-pydnstable/Makefile                 |  2 +-
 dns/py-pydnstable/files/patch-dnstable.pxi | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/dns/py-pydnstable/Makefile b/dns/py-pydnstable/Makefile
index 03959199fc6c..fa81a2001faf 100644
--- a/dns/py-pydnstable/Makefile
+++ b/dns/py-pydnstable/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pydnstable
 PORTVERSION=	0.8.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	dns python
 MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/dns/py-pydnstable/files/patch-dnstable.pxi b/dns/py-pydnstable/files/patch-dnstable.pxi
new file mode 100644
index 000000000000..2090c49e57ab
--- /dev/null
+++ b/dns/py-pydnstable/files/patch-dnstable.pxi
@@ -0,0 +1,10 @@
+--- dnstable.pxi.orig	2024-03-06 19:53:36 UTC
++++ dnstable.pxi
+@@ -16,7 +16,6 @@ from libcpp cimport bool
+ 
+ cimport cython
+ from libcpp cimport bool
+-from cpython.string cimport *
+ from libc.stddef cimport *
+ from libc.stdint cimport *
+ from libc.stdlib cimport *