diff options
author | maya <maya@pkgsrc.org> | 2018-01-04 10:25:35 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2018-01-04 10:25:35 +0000 |
commit | 4da2f90062eff30d5759b8c3f11fde29ffaabd2a (patch) | |
tree | 40dfc39485e31dbdb35a8615b40142486f1cdac9 /meta-pkgs | |
parent | a7415646fc0754114dc194122db8e1638b749e1b (diff) | |
download | pkgsrc-4da2f90062eff30d5759b8c3f11fde29ffaabd2a.tar.gz |
boost: use c++17 as a test for having string view, not NetBSD macro.
This changes the package for anyone that used it with C++17 experimental
support and now won't get it (we're cutting off at 'actual C++17').
Bump headers PKGREVISION, suggested by joerg.
Diffstat (limited to 'meta-pkgs')
-rw-r--r-- | meta-pkgs/boost/distinfo | 4 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo index e84344b7aff..ad538e7472e 100644 --- a/meta-pkgs/boost/distinfo +++ b/meta-pkgs/boost/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.110 2018/01/02 06:39:49 ryoon Exp $ +$NetBSD: distinfo,v 1.111 2018/01/04 10:25:35 maya Exp $ SHA1 (boost_1_66_0.tar.bz2) = b6b284acde2ad7ed49b44e856955d7b1ea4e9459 RMD160 (boost_1_66_0.tar.bz2) = ee5dafdfa49adf50a5333cef1f55dac4f70b4c14 SHA512 (boost_1_66_0.tar.bz2) = 0f34075d35391d66876e5189a01a11880a79428e1b267456348ee148dba9dc3abdc74d568f1853be631d20b584b1c804b42443c266f7622164acfc10be3dab8b Size (boost_1_66_0.tar.bz2) = 85995778 bytes SHA1 (patch-boost_archive_basic__archive.hpp) = 7e7c88cfc00fbf524c70dedd8b9c3c889f8b684f -SHA1 (patch-boost_asio_detail_config.hpp) = 2495833a0621a90c2c8cb0e5325b50a812f631c4 +SHA1 (patch-boost_asio_detail_config.hpp) = 53a34546638e1264b4d098dfe189abd3b0901027 SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = 6cd1b6fbb8659d7af8ecff63d4558f365f28c12b SHA1 (patch-boost_config_detail_posix__features.hpp) = 7d310574e7020c79c8bfa87cff4db0a2edc5b0bc SHA1 (patch-boost_config_detail_suffix.hpp) = 12e22085e7c292b2451ea8bc581beaddcb936252 diff --git a/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp b/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp index ea535517ae1..442aa6f6e33 100644 --- a/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp +++ b/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp @@ -1,6 +1,6 @@ -$NetBSD: patch-boost_asio_detail_config.hpp,v 1.3 2018/01/02 06:39:49 ryoon Exp $ +$NetBSD: patch-boost_asio_detail_config.hpp,v 1.4 2018/01/04 10:25:35 maya Exp $ -* NetBSD has no string_view header files +Need C++17 for string view. --- boost/asio/detail/config.hpp.orig 2017-12-13 23:56:41.000000000 +0000 +++ boost/asio/detail/config.hpp @@ -8,7 +8,7 @@ $NetBSD: patch-boost_asio_detail_config.hpp,v 1.3 2018/01/02 06:39:49 ryoon Exp # if defined(__GNUC__) # if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4) # if (__cplusplus >= 201402) -+#if !defined(__NetBSD__) ++#if __cplusplus >= 201703L # define BOOST_ASIO_HAS_STD_STRING_VIEW 1 # define BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1 +#endif |