Mon May 29 14:39:29 2017 UTC ()
Bump PKGREVISION from enabling log1p and expm1 under NetBSD
(ryoon)
diff -r1.39 -r1.40 pkgsrc/devel/boost-headers/Makefile
diff -r1.55 -r1.56 pkgsrc/devel/boost-libs/Makefile
diff -r1.97 -r1.98 pkgsrc/meta-pkgs/boost/distinfo
diff -r0 -r1.1 pkgsrc/meta-pkgs/boost/patches/patch-boost_math_special__functions_expm1.hpp
diff -r0 -r1.1 pkgsrc/meta-pkgs/boost/patches/patch-boost_math_special__functions_log1p.hpp
diff -r1.3 -r1.4 pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp
--- pkgsrc/devel/boost-headers/Makefile 2016/10/07 17:51:11 1.39
+++ pkgsrc/devel/boost-headers/Makefile 2017/05/29 14:39:28 1.40
--- pkgsrc/devel/boost-libs/Makefile 2017/05/01 11:54:38 1.55
+++ pkgsrc/devel/boost-libs/Makefile 2017/05/29 14:39:28 1.56
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2017/05/01 11:54:38 maya Exp $
+# $NetBSD: Makefile,v 1.56 2017/05/29 14:39:28 ryoon Exp $
+PKGREVISION= 1
BOOST_PACKAGE= libs
BOOST_COMMENT= (binary libraries)
BOOST_CONFIG= installed
--- pkgsrc/meta-pkgs/boost/distinfo 2017/04/29 18:31:42 1.97
+++ pkgsrc/meta-pkgs/boost/distinfo 2017/05/29 14:39:28 1.98
$NetBSD: patch-boost_math_special__functions_expm1.hpp,v 1.1 2017/05/29 14:39:29 ryoon Exp $
--- boost/math/special_functions/expm1.hpp.orig 2017-04-17 02:22:22.000000000 +0000
+++ boost/math/special_functions/expm1.hpp
@@ -303,7 +303,7 @@ inline typename tools::promote_args<T>::
#endif
#if defined(BOOST_HAS_EXPM1) && !(defined(__osf__) && defined(__DECCXX_VER))
-# ifdef BOOST_MATH_USE_C99
+# if defined(BOOST_MATH_USE_C99) && !defined(__NetBSD__)
inline float expm1(float x, const policies::policy<>&){ return ::expm1f(x); }
# ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
inline long double expm1(long double x, const policies::policy<>&){ return ::expm1l(x); }
$NetBSD: patch-boost_math_special__functions_log1p.hpp,v 1.1 2017/05/29 14:39:29 ryoon Exp $
--- boost/math/special_functions/log1p.hpp.orig 2017-04-17 02:22:22.000000000 +0000
+++ boost/math/special_functions/log1p.hpp
@@ -348,7 +348,7 @@ inline long double log1p(long double z)
# undef log1p
#endif
-#if defined(BOOST_HAS_LOG1P) && !(defined(__osf__) && defined(__DECCXX_VER))
+#if defined(BOOST_HAS_LOG1P) && !(defined(__osf__) && defined(__DECCXX_VER)) && !defined(__NetBSD__)
# ifdef BOOST_MATH_USE_C99
template <class Policy>
inline float log1p(float x, const Policy& pol)
--- pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp 2016/02/12 14:24:01 1.3
+++ pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp 2017/05/29 14:39:29 1.4