pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc boost: use c++17 as a test for having string view, not...
details: https://anonhg.NetBSD.org/pkgsrc/rev/97460e93fdcb
branches: trunk
changeset: 373527:97460e93fdcb
user: maya <maya%pkgsrc.org@localhost>
date: Thu Jan 04 10:25:35 2018 +0000
description:
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:
devel/boost-headers/Makefile | 4 +++-
meta-pkgs/boost/distinfo | 4 ++--
meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp | 6 +++---
3 files changed, 8 insertions(+), 6 deletions(-)
diffs (56 lines):
diff -r d7d34ec6e31f -r 97460e93fdcb devel/boost-headers/Makefile
--- a/devel/boost-headers/Makefile Thu Jan 04 07:41:54 2018 +0000
+++ b/devel/boost-headers/Makefile Thu Jan 04 10:25:35 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2017/08/24 19:31:31 adam Exp $
+# $NetBSD: Makefile,v 1.45 2018/01/04 10:25:35 maya Exp $
BOOST_PACKAGE= headers
BOOST_COMMENT= (build-time headers)
@@ -6,6 +6,8 @@
.include "../../meta-pkgs/boost/Makefile.common"
+PKGREVISION= 1
+
BJAM_ARGS+= --without-* # disable all libraries
NO_BUILD= yes
diff -r d7d34ec6e31f -r 97460e93fdcb meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo Thu Jan 04 07:41:54 2018 +0000
+++ b/meta-pkgs/boost/distinfo Thu Jan 04 10:25:35 2018 +0000
@@ -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 -r d7d34ec6e31f -r 97460e93fdcb meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp
--- a/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp Thu Jan 04 07:41:54 2018 +0000
+++ b/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp Thu Jan 04 10:25:35 2018 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index