diff --git a/devel/py-pysimdjson/Makefile b/devel/py-pysimdjson/Makefile index 251e8b520092..9d8d7c5cdb98 100644 --- a/devel/py-pysimdjson/Makefile +++ b/devel/py-pysimdjson/Makefile @@ -1,27 +1,28 @@ PORTNAME= pysimdjson PORTVERSION= 6.0.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Python bindings for the simdjson project WWW= https://pysimdjson.tkte.ch/ LICENSE= MIT #TEST_DEPENDS= ${PYNUMPY} \ # ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ # ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ # ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR} USES= python USE_PYTHON= cython distutils CFLAGS_powerpc64= -mpower8-vector .if ! defined(WITH_DEBUG) LDFLAGS+= -s .endif .include diff --git a/devel/py-pysimdjson/files/patch-simdjson_simdjson.h b/devel/py-pysimdjson/files/patch-simdjson_simdjson.h new file mode 100644 index 000000000000..1632cb6c5790 --- /dev/null +++ b/devel/py-pysimdjson/files/patch-simdjson_simdjson.h @@ -0,0 +1,21 @@ +--- simdjson/simdjson.h.orig 2024-02-06 03:49:45 UTC ++++ simdjson/simdjson.h +@@ -6223,15 +6223,15 @@ class base_formatter { (public) + simdjson_inline void one_char(char c); + + simdjson_inline void call_print_newline() { +- this->print_newline(); ++ static_cast(this)->print_newline(); + } + + simdjson_inline void call_print_indents(size_t depth) { +- this->print_indents(depth); ++ static_cast(this)->print_indents(depth); + } + + simdjson_inline void call_print_space() { +- this->print_space(); ++ static_cast(this)->print_space(); + } + + protected: