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

cvs diff -r1.39 -r1.40 pkgsrc/devel/boost-headers/Makefile (expand / switch to unified diff)

--- 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
@@ -1,15 +1,16 @@ @@ -1,15 +1,16 @@
1# $NetBSD: Makefile,v 1.39 2016/10/07 17:51:11 adam Exp $ 1# $NetBSD: Makefile,v 1.40 2017/05/29 14:39:28 ryoon Exp $
2 2
 3PKGREVISION= 1
3BOOST_PACKAGE= headers 4BOOST_PACKAGE= headers
4BOOST_COMMENT= (build-time headers) 5BOOST_COMMENT= (build-time headers)
5BOOST_CONFIG= generate 6BOOST_CONFIG= generate
6 7
7.include "../../meta-pkgs/boost/Makefile.common" 8.include "../../meta-pkgs/boost/Makefile.common"
8 9
9BJAM_ARGS+= --without-* # disable all libraries 10BJAM_ARGS+= --without-* # disable all libraries
10 11
11NO_BUILD= yes 12NO_BUILD= yes
12 13
13.include "../../devel/boost-jam/bjam.mk" 14.include "../../devel/boost-jam/bjam.mk"
14 15
15do-install: bjam-install 16do-install: bjam-install

cvs diff -r1.55 -r1.56 pkgsrc/devel/boost-libs/Makefile (expand / switch to unified diff)

--- 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,15 +1,16 @@ @@ -1,15 +1,16 @@
1# $NetBSD: Makefile,v 1.55 2017/05/01 11:54:38 maya Exp $ 1# $NetBSD: Makefile,v 1.56 2017/05/29 14:39:28 ryoon Exp $
2 2
 3PKGREVISION= 1
3BOOST_PACKAGE= libs 4BOOST_PACKAGE= libs
4BOOST_COMMENT= (binary libraries) 5BOOST_COMMENT= (binary libraries)
5BOOST_CONFIG= installed 6BOOST_CONFIG= installed
6BOOST_INSTALL_LIBS= yes 7BOOST_INSTALL_LIBS= yes
7 8
8.include "../../meta-pkgs/boost/Makefile.common" 9.include "../../meta-pkgs/boost/Makefile.common"
9 10
10INSTALLATION_DIRS+= lib 11INSTALLATION_DIRS+= lib
11 12
12BJAM_ARGS+= --without-python 13BJAM_ARGS+= --without-python
13PLIST_VARS+= context fiber log 14PLIST_VARS+= context fiber log
14 15
15.if ${OPSYS} == "NetBSD" && ((${MACHINE_ARCH} == "i386") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc))) 16.if ${OPSYS} == "NetBSD" && ((${MACHINE_ARCH} == "i386") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))

cvs diff -r1.97 -r1.98 pkgsrc/meta-pkgs/boost/distinfo (expand / switch to unified diff)

--- 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
@@ -1,24 +1,26 @@ @@ -1,24 +1,26 @@
1$NetBSD: distinfo,v 1.97 2017/04/29 18:31:42 adam Exp $ 1$NetBSD: distinfo,v 1.98 2017/05/29 14:39:28 ryoon Exp $
2 2
3SHA1 (boost_1_64_0.tar.bz2) = 51421ef259a4530edea0fbfc448460fcc5c64edb 3SHA1 (boost_1_64_0.tar.bz2) = 51421ef259a4530edea0fbfc448460fcc5c64edb
4RMD160 (boost_1_64_0.tar.bz2) = 377ea4325f5e3ccd2820002143bb5baa1aeb3b41 4RMD160 (boost_1_64_0.tar.bz2) = 377ea4325f5e3ccd2820002143bb5baa1aeb3b41
5SHA512 (boost_1_64_0.tar.bz2) = 68477f148f61be617552ef48559c5c2cb90d42264cabd6d5e87215d0d5024b48fca27c4afcfc1f77e490c6220d44fb1abdf0a53703867a2e4132c2857f69fedf 5SHA512 (boost_1_64_0.tar.bz2) = 68477f148f61be617552ef48559c5c2cb90d42264cabd6d5e87215d0d5024b48fca27c4afcfc1f77e490c6220d44fb1abdf0a53703867a2e4132c2857f69fedf
6Size (boost_1_64_0.tar.bz2) = 80472424 bytes 6Size (boost_1_64_0.tar.bz2) = 80472424 bytes
7SHA1 (patch-aa) = 408a63a807aaa491130db018cd89bca6a427090d 7SHA1 (patch-aa) = 408a63a807aaa491130db018cd89bca6a427090d
8SHA1 (patch-ab) = 37c61bcfc27f1533df21f4392f80df2d2dbe51ef 8SHA1 (patch-ab) = 37c61bcfc27f1533df21f4392f80df2d2dbe51ef
9SHA1 (patch-ac) = 32d14b50682dae1950ed927ecb9318ad6b07687a 9SHA1 (patch-ac) = 32d14b50682dae1950ed927ecb9318ad6b07687a
10SHA1 (patch-ad) = 0e5dc31c3425de94444f97a9b7dec97ed5967733 10SHA1 (patch-ad) = 0e5dc31c3425de94444f97a9b7dec97ed5967733
11SHA1 (patch-ae) = ac2e4afcf243c2fee2394cfe3fe92f4890e9ab83 11SHA1 (patch-ae) = ac2e4afcf243c2fee2394cfe3fe92f4890e9ab83
12SHA1 (patch-ag) = 117eabbbbc26d04bb5e56df5ad92e55b5061c0f8 12SHA1 (patch-ag) = 117eabbbbc26d04bb5e56df5ad92e55b5061c0f8
13SHA1 (patch-aq) = 7503ba9813a143b9e99e43b3017a30bc5543fe16 13SHA1 (patch-aq) = 7503ba9813a143b9e99e43b3017a30bc5543fe16
14SHA1 (patch-ar) = 2fec2c51272cc4ee376e6538d8f1fd8561a7f0a3 14SHA1 (patch-ar) = 2fec2c51272cc4ee376e6538d8f1fd8561a7f0a3
15SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = 6cd1b6fbb8659d7af8ecff63d4558f365f28c12b 15SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = 6cd1b6fbb8659d7af8ecff63d4558f365f28c12b
16SHA1 (patch-boost_config_posix__features.hpp) = c3e7187af35a2a25901b37388d3194e22d005323 16SHA1 (patch-boost_config_posix__features.hpp) = c3e7187af35a2a25901b37388d3194e22d005323
17SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d57ee228c9dfa43665d261e7423fd10122dfd1a7 17SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d57ee228c9dfa43665d261e7423fd10122dfd1a7
18SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e 18SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e
19SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe 19SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe
20SHA1 (patch-boost_math_tools_config.hpp) = db3965cd810185116efd669df29067f58cc847e5 20SHA1 (patch-boost_math_special__functions_expm1.hpp) = 724fbd40b3780da8af6ce10bbf50a354eb19031a
 21SHA1 (patch-boost_math_special__functions_log1p.hpp) = df6fd088da736a4640663b64841383432f1a1201
 22SHA1 (patch-boost_math_tools_config.hpp) = daf8cf1fdac8169825c06804ca6d667792be0e9a
21SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12 23SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12
22SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711 24SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711
23SHA1 (patch-libs_config_test_boost__no__range__based__for.ipp) = d9936c472fc2c696d86522b36eb12813ae91bee4 25SHA1 (patch-libs_config_test_boost__no__range__based__for.ipp) = d9936c472fc2c696d86522b36eb12813ae91bee4
24SHA1 (patch-libs_fiber_build_Jamfile.v2) = 28c1aba2d074f2db7104e37cd900d33f5fcffb09 26SHA1 (patch-libs_fiber_build_Jamfile.v2) = 28c1aba2d074f2db7104e37cd900d33f5fcffb09

File Added: pkgsrc/meta-pkgs/boost/patches/patch-boost_math_special__functions_expm1.hpp
$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); }

File Added: pkgsrc/meta-pkgs/boost/patches/patch-boost_math_special__functions_log1p.hpp
$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)

cvs diff -r1.3 -r1.4 pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_config.hpp (expand / switch to unified diff)

--- 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
@@ -1,15 +1,25 @@ @@ -1,15 +1,25 @@
1$NetBSD: patch-boost_math_tools_config.hpp,v 1.3 2016/02/12 14:24:01 ryoon Exp $ 1$NetBSD: patch-boost_math_tools_config.hpp,v 1.4 2017/05/29 14:39:29 ryoon Exp $
2 2
3* NetBSD has no int128_t 3* NetBSD has no int128_t
 4* NetBSD has no log1pl etc.
4 5
5--- boost/math/tools/config.hpp.orig 2015-12-11 18:00:52.000000000 +0000 6--- boost/math/tools/config.hpp.orig 2017-04-17 02:22:22.000000000 +0000
6+++ boost/math/tools/config.hpp 7+++ boost/math/tools/config.hpp
7@@ -279,7 +279,7 @@ 8@@ -103,7 +103,7 @@
 9 # define BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS
 10 #endif
 11
 12-#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901))
 13+#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) && !defined(__NetBSD__)
 14 # define BOOST_MATH_USE_C99
 15 #endif
 16
 17@@ -267,7 +267,7 @@
8 // 18 //
9 // And then the actual configuration: 19 // And then the actual configuration:
10 // 20 //
11-#if defined(_GLIBCXX_USE_FLOAT128) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__) \ 21-#if defined(_GLIBCXX_USE_FLOAT128) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__) \
12+#if (defined(_GLIBCXX_USE_FLOAT128) && !defined(__NetBSD__)) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__) \ 22+#if (defined(_GLIBCXX_USE_FLOAT128) && !defined(__NetBSD__)) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__) \
13 && !defined(BOOST_MATH_DISABLE_FLOAT128) || defined(BOOST_MATH_USE_FLOAT128) 23 && !defined(BOOST_MATH_DISABLE_FLOAT128) || defined(BOOST_MATH_USE_FLOAT128)
14 // 24 //
15 // Only enable this when the compiler really is GCC as clang and probably  25 // Only enable this when the compiler really is GCC as clang and probably