diff options
author | shattered <shattered> | 2010-11-23 21:23:04 +0000 |
---|---|---|
committer | shattered <shattered> | 2010-11-23 21:23:04 +0000 |
commit | 8dfc4e3eea9d5b641b9a172672a38bf9f34d4a3f (patch) | |
tree | dabcdbba621480c763dcb6ff911bcdef7e9a5e33 /meta-pkgs/boost/patches | |
parent | 76c54093196c65ef4077a8771f90e711d416710a (diff) | |
download | pkgsrc-8dfc4e3eea9d5b641b9a172672a38bf9f34d4a3f.tar.gz |
https://svn.boost.org/trac/boost/ticket/4794 -- fixes build failure on 4.0
OK by wiz@
Diffstat (limited to 'meta-pkgs/boost/patches')
-rw-r--r-- | meta-pkgs/boost/patches/patch-as | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-pkgs/boost/patches/patch-as b/meta-pkgs/boost/patches/patch-as new file mode 100644 index 00000000000..b222c5d2d12 --- /dev/null +++ b/meta-pkgs/boost/patches/patch-as @@ -0,0 +1,15 @@ +$NetBSD: patch-as,v 1.1 2010/11/23 21:23:04 shattered Exp $ + +From https://svn.boost.org/trac/boost/ticket/4794, fixes build on 4.0 + +--- boost/math/special_functions/cbrt.hpp.orig 2010-05-21 17:23:36.000000000 +0000 ++++ boost/math/special_functions/cbrt.hpp +@@ -69,7 +69,7 @@ T cbrt_imp(T z, const Policy& pol) + static_cast<T>(1.5874010519681994747517056392723), // 2^2/3 + }; + +- if(!boost::math::isfinite(z)) ++ if(!(boost::math::isfinite)(z)) + { + return policies::raise_domain_error("boost::math::cbrt<%1%>(%1%)", "Argument to function must be finite but got %1%.", z, pol); + } |