head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.08.25.10.50.00; author wiz; state Exp; branches; next ; commitid Jxl8iUJO3xCSx0TG; desc @@ 1.1 log @py-cython: fix isfinite() problem using upstream patch. Bump PKGREVISION. @ text @$NetBSD$ Use std::isfinite() is C++ and isfinite() in C. https://github.com/cython/cython/pull/7930 --- Cython/Utility/ModuleSetupCode.c.orig 2026-08-22 04:59:36.771782400 +0000 +++ Cython/Utility/ModuleSetupCode.c @@@@ -1643,6 +1643,14 @@@@ static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObj #define __Pyx_truncl truncl #endif +#if defined(__cplusplus) + #include + #define __Pyx_isfinite(x) std::isfinite(x) +#else + #define __Pyx_isfinite(x) isfinite(x) +#endif + + /////////////// ForceInitThreads.proto /////////////// //@@proto_block: utility_code_proto_before_types @