numpy: update to 2.2.3 (#11875)

* numpy: update to 2.2.3

* Update dev-python/numpy/numpy-2.2.3.recipe

Co-authored-by: OscarL <oscar.lesta@gmail.com>

* Update dev-python/numpy/numpy-2.2.3.recipe

Co-authored-by: OscarL <oscar.lesta@gmail.com>

---------

Co-authored-by: Schrijvers Luc <begasus@gmail.com>
Co-authored-by: OscarL <oscar.lesta@gmail.com>
This commit is contained in:
Nexus6
2025-03-08 07:08:34 +01:00
committed by GitHub
parent c0f4d5e330
commit 4285eb9aa8
2 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,29 @@
From 3c308cbf71ed02796ae98c0ce1b44e24206c17d9 Mon Sep 17 00:00:00 2001
From: Oscar Lesta <oscar.lesta@gmail.com>
Date: Tue, 24 Dec 2024 15:21:22 -0300
Subject: Fix build on Haiku.
diff --git a/numpy/_core/src/umath/string_buffer.h b/numpy/_core/src/umath/string_buffer.h
index ae89ede..d756a0f 100644
--- a/numpy/_core/src/umath/string_buffer.h
+++ b/numpy/_core/src/umath/string_buffer.h
@@ -14,6 +14,15 @@
#include "string_fastsearch.h"
#include "gil_utils.h"
+#ifdef __HAIKU__
+ #undef isalnum
+ #undef isalpha
+ #undef isdigit
+ #undef islower
+ #undef isspace
+ #undef isupper
+#endif
+
#define CHECK_OVERFLOW(index) if (buf + (index) >= after) return 0
#define MSB(val) ((val) >> 7 & 1)
--
2.48.1