summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-12-28 13:52:18 +0000
committerryoon <ryoon@pkgsrc.org>2015-12-28 13:52:18 +0000
commit96d06b35fa76dba81b3560daa18ad9cf91860b59 (patch)
treef7097f663e96b79b17174d26f43d773fa9b57c9a /meta-pkgs/boost
parent36e57028baa5544621e943b814a652ba553ffae9 (diff)
downloadpkgsrc-96d06b35fa76dba81b3560daa18ad9cf91860b59.tar.gz
Add workaround for NetBSD 7.99 and 7. Fix converters/librevenge build
Bump PKGREVISION of devel/boost-headers.
Diffstat (limited to 'meta-pkgs/boost')
-rw-r--r--meta-pkgs/boost/distinfo4
-rw-r--r--meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp15
2 files changed, 14 insertions, 5 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo
index f503d9ba4d9..52cc612fa23 100644
--- a/meta-pkgs/boost/distinfo
+++ b/meta-pkgs/boost/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.84 2015/12/27 12:41:42 adam Exp $
+$NetBSD: distinfo,v 1.85 2015/12/28 13:52:18 ryoon Exp $
SHA1 (boost_1_60_0.tar.bz2) = 7f56ab507d3258610391b47fef6b11635861175a
RMD160 (boost_1_60_0.tar.bz2) = 191c97a0aed4543fbc8543219d2ab53aea7db784
@@ -17,7 +17,7 @@ SHA1 (patch-boost_config_posix__features.hpp) = c3e7187af35a2a25901b37388d3194e2
SHA1 (patch-boost_config_stdlib_libcpp.hpp) = 5f7c1dab7ee730a0517b52fb9ec7d6b5cbc4054a
SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e
SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe
-SHA1 (patch-boost_math_tools_config.hpp) = 81402bc38dc858d0818ed91e204966c8382be4ff
+SHA1 (patch-boost_math_tools_config.hpp) = 96c464a4546843dbfbe3be6c327dc45561d4f9b1
SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12
SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711
SHA1 (patch-libs_config_test_boost__no__range__based__for.ipp) = d9936c472fc2c696d86522b36eb12813ae91bee4
diff --git a/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp b/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp
index e737d1b47f1..34884c247f9 100644
--- a/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp
+++ b/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp
@@ -1,10 +1,10 @@
-$NetBSD: patch-boost_math_tools_config.hpp,v 1.1 2013/11/20 19:17:55 adam Exp $
+$NetBSD: patch-boost_math_tools_config.hpp,v 1.2 2015/12/28 13:52:18 ryoon Exp $
Enable long double math functions on FreeBSD and NetBSD.
---- boost/math/tools/config.hpp.orig 2013-11-20 18:40:34.000000000 +0000
+--- boost/math/tools/config.hpp.orig 2015-12-11 18:00:52.000000000 +0000
+++ boost/math/tools/config.hpp
-@@ -23,7 +23,7 @@
+@@ -28,7 +28,7 @@
#include <boost/math/tools/user.hpp>
@@ -13,3 +13,12 @@ Enable long double math functions on FreeBSD and NetBSD.
|| (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
+@@ -279,7 +279,7 @@
+ //
+ // And then the actual configuration:
+ //
+-#if defined(_GLIBCXX_USE_FLOAT128) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__) \
++#if (defined(_GLIBCXX_USE_FLOAT128) && !defined(__NetBSD__)) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__) \
+ && !defined(BOOST_MATH_DISABLE_FLOAT128) || defined(BOOST_MATH_USE_FLOAT128)
+ //
+ // Only enable this when the compiler really is GCC as clang and probably