From 64440ae7d292fc8094371e7e29286e3def1250e2 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 11 Oct 2023 19:25:54 -0600 Subject: [PATCH] Fix detection of open_memstream --- scipy.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scipy.spec b/scipy.spec index 7dd0392..407e74d 100644 --- a/scipy.spec +++ b/scipy.spec @@ -154,6 +154,10 @@ for f in $(grep -Frl numpy.distutils); do rm $f.orig done +# Work around failure to detect open_memstream. In glibc, open_memstream is +# not a real function. It is a weak alias to __open_memstream. +sed -i "s/\('has_openmemstream', \)'0'/\1'1'/" scipy/_lib/meson.build + %build export SCIPY_USE_PYTHRAN=0%{?with_pythran} @@ -292,6 +296,7 @@ popd - Add Provides for bundled projects - Disable LTO - Pythran works on 32-bit architectures again +- Fix detection of open_memstream * Wed Jul 12 2023 psimovec - 1.11.1-1 - New upstream release 1.11.1