Bump PKGREVISION from enabling log1p and expm1 under NetBSDdiff -r1.39 -r1.40 pkgsrc/devel/boost-headers/Makefile
(ryoon)
@@ -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 | |||
3 | PKGREVISION= 1 | |||
3 | BOOST_PACKAGE= headers | 4 | BOOST_PACKAGE= headers | |
4 | BOOST_COMMENT= (build-time headers) | 5 | BOOST_COMMENT= (build-time headers) | |
5 | BOOST_CONFIG= generate | 6 | BOOST_CONFIG= generate | |
6 | 7 | |||
7 | .include "../../meta-pkgs/boost/Makefile.common" | 8 | .include "../../meta-pkgs/boost/Makefile.common" | |
8 | 9 | |||
9 | BJAM_ARGS+= --without-* # disable all libraries | 10 | BJAM_ARGS+= --without-* # disable all libraries | |
10 | 11 | |||
11 | NO_BUILD= yes | 12 | NO_BUILD= yes | |
12 | 13 | |||
13 | .include "../../devel/boost-jam/bjam.mk" | 14 | .include "../../devel/boost-jam/bjam.mk" | |
14 | 15 | |||
15 | do-install: bjam-install | 16 | do-install: bjam-install |
@@ -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 | |||
3 | PKGREVISION= 1 | |||
3 | BOOST_PACKAGE= libs | 4 | BOOST_PACKAGE= libs | |
4 | BOOST_COMMENT= (binary libraries) | 5 | BOOST_COMMENT= (binary libraries) | |
5 | BOOST_CONFIG= installed | 6 | BOOST_CONFIG= installed | |
6 | BOOST_INSTALL_LIBS= yes | 7 | BOOST_INSTALL_LIBS= yes | |
7 | 8 | |||
8 | .include "../../meta-pkgs/boost/Makefile.common" | 9 | .include "../../meta-pkgs/boost/Makefile.common" | |
9 | 10 | |||
10 | INSTALLATION_DIRS+= lib | 11 | INSTALLATION_DIRS+= lib | |
11 | 12 | |||
12 | BJAM_ARGS+= --without-python | 13 | BJAM_ARGS+= --without-python | |
13 | PLIST_VARS+= context fiber log | 14 | PLIST_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))) |
@@ -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 | |||
3 | SHA1 (boost_1_64_0.tar.bz2) = 51421ef259a4530edea0fbfc448460fcc5c64edb | 3 | SHA1 (boost_1_64_0.tar.bz2) = 51421ef259a4530edea0fbfc448460fcc5c64edb | |
4 | RMD160 (boost_1_64_0.tar.bz2) = 377ea4325f5e3ccd2820002143bb5baa1aeb3b41 | 4 | RMD160 (boost_1_64_0.tar.bz2) = 377ea4325f5e3ccd2820002143bb5baa1aeb3b41 | |
5 | SHA512 (boost_1_64_0.tar.bz2) = 68477f148f61be617552ef48559c5c2cb90d42264cabd6d5e87215d0d5024b48fca27c4afcfc1f77e490c6220d44fb1abdf0a53703867a2e4132c2857f69fedf | 5 | SHA512 (boost_1_64_0.tar.bz2) = 68477f148f61be617552ef48559c5c2cb90d42264cabd6d5e87215d0d5024b48fca27c4afcfc1f77e490c6220d44fb1abdf0a53703867a2e4132c2857f69fedf | |
6 | Size (boost_1_64_0.tar.bz2) = 80472424 bytes | 6 | Size (boost_1_64_0.tar.bz2) = 80472424 bytes | |
7 | SHA1 (patch-aa) = 408a63a807aaa491130db018cd89bca6a427090d | 7 | SHA1 (patch-aa) = 408a63a807aaa491130db018cd89bca6a427090d | |
8 | SHA1 (patch-ab) = 37c61bcfc27f1533df21f4392f80df2d2dbe51ef | 8 | SHA1 (patch-ab) = 37c61bcfc27f1533df21f4392f80df2d2dbe51ef | |
9 | SHA1 (patch-ac) = 32d14b50682dae1950ed927ecb9318ad6b07687a | 9 | SHA1 (patch-ac) = 32d14b50682dae1950ed927ecb9318ad6b07687a | |
10 | SHA1 (patch-ad) = 0e5dc31c3425de94444f97a9b7dec97ed5967733 | 10 | SHA1 (patch-ad) = 0e5dc31c3425de94444f97a9b7dec97ed5967733 | |
11 | SHA1 (patch-ae) = ac2e4afcf243c2fee2394cfe3fe92f4890e9ab83 | 11 | SHA1 (patch-ae) = ac2e4afcf243c2fee2394cfe3fe92f4890e9ab83 | |
12 | SHA1 (patch-ag) = 117eabbbbc26d04bb5e56df5ad92e55b5061c0f8 | 12 | SHA1 (patch-ag) = 117eabbbbc26d04bb5e56df5ad92e55b5061c0f8 | |
13 | SHA1 (patch-aq) = 7503ba9813a143b9e99e43b3017a30bc5543fe16 | 13 | SHA1 (patch-aq) = 7503ba9813a143b9e99e43b3017a30bc5543fe16 | |
14 | SHA1 (patch-ar) = 2fec2c51272cc4ee376e6538d8f1fd8561a7f0a3 | 14 | SHA1 (patch-ar) = 2fec2c51272cc4ee376e6538d8f1fd8561a7f0a3 | |
15 | SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = 6cd1b6fbb8659d7af8ecff63d4558f365f28c12b | 15 | SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = 6cd1b6fbb8659d7af8ecff63d4558f365f28c12b | |
16 | SHA1 (patch-boost_config_posix__features.hpp) = c3e7187af35a2a25901b37388d3194e22d005323 | 16 | SHA1 (patch-boost_config_posix__features.hpp) = c3e7187af35a2a25901b37388d3194e22d005323 | |
17 | SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d57ee228c9dfa43665d261e7423fd10122dfd1a7 | 17 | SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d57ee228c9dfa43665d261e7423fd10122dfd1a7 | |
18 | SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e | 18 | SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e | |
19 | SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe | 19 | SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe | |
20 | SHA1 (patch-boost_math_tools_config.hpp) = db3965cd810185116efd669df29067f58cc847e5 | 20 | SHA1 (patch-boost_math_special__functions_expm1.hpp) = 724fbd40b3780da8af6ce10bbf50a354eb19031a | |
21 | SHA1 (patch-boost_math_special__functions_log1p.hpp) = df6fd088da736a4640663b64841383432f1a1201 | |||
22 | SHA1 (patch-boost_math_tools_config.hpp) = daf8cf1fdac8169825c06804ca6d667792be0e9a | |||
21 | SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12 | 23 | SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12 | |
22 | SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711 | 24 | SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711 | |
23 | SHA1 (patch-libs_config_test_boost__no__range__based__for.ipp) = d9936c472fc2c696d86522b36eb12813ae91bee4 | 25 | SHA1 (patch-libs_config_test_boost__no__range__based__for.ipp) = d9936c472fc2c696d86522b36eb12813ae91bee4 | |
24 | SHA1 (patch-libs_fiber_build_Jamfile.v2) = 28c1aba2d074f2db7104e37cd900d33f5fcffb09 | 26 | SHA1 (patch-libs_fiber_build_Jamfile.v2) = 28c1aba2d074f2db7104e37cd900d33f5fcffb09 |
$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)
@@ -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 |