Download raw body.
sparc64: more python 3 fallout
py-rcsparse has the same confusion about PyVarObject_HEAD_INIT() usage as
net/dico.
net/kdeconnect-kde is another port that just needs to have c++ set before
the lang/python module is pulled in.
--
:wq Claudio
Index: devel/py-rcsparse/patches/patch-py-rcsparse_c
===================================================================
RCS file: /cvs/ports/devel/py-rcsparse/patches/patch-py-rcsparse_c,v
diff -u -p -r1.6 patch-py-rcsparse_c
--- devel/py-rcsparse/patches/patch-py-rcsparse_c 10 Jan 2023 13:22:30 -0000 1.6
+++ devel/py-rcsparse/patches/patch-py-rcsparse_c 15 Dec 2025 12:53:30 -0000
@@ -102,6 +102,15 @@ Index: py-rcsparse.c
}
static PyGetSetDef pyrcsfile_getseters[] = {
+@@ -745,7 +770,7 @@ static PyMethodDef pyrcsfile_methods[] = {
+ };
+
+ static PyTypeObject pyrcsfile_type = {
+- PyObject_HEAD_INIT(&PyType_Type)
++ PyVarObject_HEAD_INIT(&PyType_Type, 0)
+ .tp_name= "rcsparse.rcsfile",
+ .tp_basicsize= sizeof(struct pyrcsfile),
+ .tp_dealloc= (destructor)pyrcsfile_dealloc,
@@ -761,21 +786,48 @@ static PyMethodDef pyrcsparse_methods[] = {
{NULL}
};
Index: net/kdeconnect-kde/Makefile
===================================================================
RCS file: /cvs/ports/net/kdeconnect-kde/Makefile,v
diff -u -p -r1.41 Makefile
--- net/kdeconnect-kde/Makefile 9 Dec 2025 10:46:55 -0000 1.41
+++ net/kdeconnect-kde/Makefile 15 Dec 2025 12:53:37 -0000
@@ -27,6 +27,10 @@ WANTLIB += wayland-cursor xkbcommon
SITES = ${SITE_KDE:=stable/release-service/${MODKDE_GEAR_VERSION}/src/}
EXTRACT_SUFX = .tar.xz
+# needs python and c++
+COMPILER = base-clang ports-gcc
+COMPILER_LANGS= c c++
+
MODULES = x11/kde \
lang/python
sparc64: more python 3 fallout