summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2010-11-23 21:23:04 +0000
committershattered <shattered@pkgsrc.org>2010-11-23 21:23:04 +0000
commit05ffb96677bb219c72182b95ba3a636ab9af746a (patch)
treedabcdbba621480c763dcb6ff911bcdef7e9a5e33 /meta-pkgs
parentd46d7345735b4ac457c62653c52cccd9871f84df (diff)
downloadpkgsrc-05ffb96677bb219c72182b95ba3a636ab9af746a.tar.gz
https://svn.boost.org/trac/boost/ticket/4794 -- fixes build failure on 4.0
OK by wiz@
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/boost/distinfo3
-rw-r--r--meta-pkgs/boost/patches/patch-as15
2 files changed, 17 insertions, 1 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo
index afb570ca360..cc4fefdd936 100644
--- a/meta-pkgs/boost/distinfo
+++ b/meta-pkgs/boost/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2010/08/28 15:28:23 adam Exp $
+$NetBSD: distinfo,v 1.29 2010/11/23 21:23:04 shattered Exp $
SHA1 (boost_1_44_0.tar.bz2) = 0dfeaad7a316ddfdcdb8a7e42443ef048ad18c01
RMD160 (boost_1_44_0.tar.bz2) = 1fe1bf83ce5699dc43cbfc3d5a6997722c34c938
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 299272ecd11cab1b5af099ef1a65e6db1daa4784
SHA1 (patch-af) = ef9a9363420f519c45baaf98badff4c885a7595c
SHA1 (patch-aq) = 6078cb5ac979c339a787e48cfe949e76613987e7
SHA1 (patch-ar) = 6b7e3b808fe0c20d92522b87ee949690ce34f749
+SHA1 (patch-as) = c8aaf7f565c32a56d7cc9a9a6f8d82e292d5df85
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);
+ }