head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.4 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.2 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.1.0.2 pkgsrc-2025Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2025.10.30.15.19.43; author adam; state Exp; branches; next 1.1; commitid bfSOele7SYLaEBgG; 1.1 date 2025.09.14.14.03.44; author wiz; state Exp; branches; next ; commitid ulvWfxFRJA0THGaG; desc @@ 1.2 log @py-numexpr: updated to 2.14.1 Changes from 2.14.0 to 2.14.1 * Rolled back static typing support to ensure compatibiity with NumPy 1.26. * Added CI tests for NumPy 1.26 @ text @$NetBSD: patch-numexpr_numexpr__config.hpp,v 1.1 2025/09/14 14:03:44 wiz Exp $ Fix build on NetBSD. --- numexpr/numexpr_config.hpp.orig 2025-10-13 15:50:29.000000000 +0000 +++ numexpr/numexpr_config.hpp @@@@ -42,7 +42,7 @@@@ #endif #include //no single precision version of signbit in C++ standard -inline bool signbitf(float x) { return signbit((double)x); } +inline bool signbitf(float x) { return std::signbit((double)x); } #ifdef _WIN32 #ifndef __MINGW32__ @ 1.1 log @py-numexpr: fix build on NetBSD @ text @d1 1 a1 1 $NetBSD$ a3 1 https://github.com/pydata/numexpr/issues/528 d5 1 a5 1 --- numexpr/numexpr_config.hpp.orig 2025-09-14 13:57:31.046041558 +0000 d7 1 a7 3 @@@@ -40,6 +40,7 @@@@ #include "mkl_vml.h" #include "mkl_service.h" d9 4 a12 1 +#include a15 19 @@@@ -51,12 +52,12 @@@@ msvc_function_stubs contains windows alternatives /* Due to casting problems (normally return ints not bools, easiest to define non-overloaded wrappers for these functions) */ -inline bool isfinitef_(float x) { return !!::isfinite(x); } -inline bool isnanf_(float x) { return !!::isnan(x); } -inline bool isfinited(double x) { return !!::isfinite(x); } -inline bool isnand(double x) { return !!::isnan(x); } -inline bool isinff_(float x) { return !!::isinf(x); } -inline bool isinfd(double x) { return !!::isinf(x); } +inline bool isfinitef_(float x) { return !!std::isfinite(x); } +inline bool isnanf_(float x) { return !!std::isnan(x); } +inline bool isfinited(double x) { return !!std::isfinite(x); } +inline bool isnand(double x) { return !!std::isnan(x); } +inline bool isinff_(float x) { return !!std::isinf(x); } +inline bool isinfd(double x) { return !!std::isinf(x); } #endif #endif // NUMEXPR_CONFIG_HPP @