Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/scipy/patches/boost_math_tools_config.patch: New
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Dec 26, 2021
1 parent c5af195 commit eb64c0b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/pkgs/scipy/patches/boost_math_tools_config.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- scipy/_lib/boost/boost/math/tools/config.hpp.orig 2021-11-01 02:28:55 UTC
+++ scipy/_lib/boost/boost/math/tools/config.hpp
@@ -28,7 +28,7 @@

#include <boost/math/tools/user.hpp>

-#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__EMSCRIPTEN__)\
+#if defined(__NetBSD__) || defined(__EMSCRIPTEN__)\
|| (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
&& !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

0 comments on commit eb64c0b

Please sign in to comment.