pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost Fix boost-libs build under NetBSD with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/502a1ac368ed
branches:  trunk
changeset: 373442:502a1ac368ed
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Jan 02 06:39:49 2018 +0000

description:
Fix boost-libs build under NetBSD with GCC

diffstat:

 meta-pkgs/boost/distinfo                                   |   3 +-
 meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp |  17 ++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r ca9d772199aa -r 502a1ac368ed meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo  Tue Jan 02 05:49:44 2018 +0000
+++ b/meta-pkgs/boost/distinfo  Tue Jan 02 06:39:49 2018 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.109 2018/01/01 20:36:09 adam Exp $
+$NetBSD: distinfo,v 1.110 2018/01/02 06:39:49 ryoon 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_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 ca9d772199aa -r 502a1ac368ed meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp        Tue Jan 02 06:39:49 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-boost_asio_detail_config.hpp,v 1.3 2018/01/02 06:39:49 ryoon Exp $
+
+* NetBSD has no string_view header files
+
+--- boost/asio/detail/config.hpp.orig  2017-12-13 23:56:41.000000000 +0000
++++ boost/asio/detail/config.hpp
+@@ -782,8 +782,10 @@
+ #  if defined(__GNUC__)
+ #   if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)
+ #    if (__cplusplus >= 201402)
++#if !defined(__NetBSD__)
+ #     define BOOST_ASIO_HAS_STD_STRING_VIEW 1
+ #     define BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
++#endif
+ #    endif // (__cplusplus >= 201402)
+ #   endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
+ #  endif // defined(__GNUC__)



Home | Main Index | Thread Index | Old Index