From 10ef71a5d73c569140a8df244e9745f9c37abfdc Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 7 Oct 2016 17:51:11 +0000 Subject: Changes 1.62.0: New Libraries ------------- Fiber: * Framework for userland-threads/fibers, from Oliver Kowalke. QVM: * Boost QVM is a generic library for working with quaternions, vectors and matrices of static size with the emphasis on 2, 3 and 4-dimensional operations needed in graphics, video games and simulation applications, from Emil Dotchevski. Updated Libraries ----------------- Atomic: * Improved support for Oracle Studio and SPARC. The library now provides native atomic operations on SPARCv8+. Chrono: * 11330 boost::chrono::duration default constructor doesn't initialize rep_ * 11618 Chrono IO V2 doc ios_state.hpp does not exist * 11631 boost chrono io v2 does not let you support custom clocks Circular Buffer: * Debug implementation is no longer used by default in debug mode. Debug implementation does not have the same thread safety guarantees as the normal (release) implementation or other containers. As a result of this change BOOST_CB_DISABLE_DEBUG macro is no longer used. BOOST_CB_ENABLE_DEBUG=1 should be defined instead to enable debug support. Container: * Fixed bugs: Trac 9481: "Minor comment typo in Boost.Container". Trac 9689: "Add piecewise_construct to boost::container". Trac 11170: "Doc slip for index_of". Trac 11802: "Incorrect ordering after using insert() with ordered_range_t on a flat_multiset with a non-default sort order". Trac 12117: "flat_set constructor with ordered_unique_range". Trac 12177: "vector::priv_merge uses unqualified uintptr_t". Trac 12183: "GCC 6.1 thinks boost::container::string violates strict aliasing". Trac 12256: "set>::insert cause compilation error in debug configuration in Visual Studio 2012". Trac 12273: "static_vector max_size() and capacity() should be constant expressions". Added constant static_vector<>::static_capacity to use the configured capacity in constant expressions. Trac 12286: "PMR flat_map from Boost Container does not compile". Trac 12296: "{deque,string} combine for a memory leak". Trac 12319: "flat_set should be nothrow move constructible". * Revised noexcept expressions of default and move constructors in all containers. * Implemented C++17 insert_or_assign/try_emplace for map and flat_map. * Implemented C++17 extract/insert(node) for map, multimap, set, multiset. Context: * 12215 all stack corrupted on Windows using default fixedsize_stack * 12242 build issue with Intel C++ compiler for MacOS * fix stack unwinding for execution_context_v1 Coroutine: * deprecated in favour of Coroutine2 Coroutine2: * 12221 coroutine<>::push_type function starts without pushing * do not swallow exceptions thrown at coroutine<>::push_type construction DLL: * Mangled symbols and classes loading was implemented by Klemens Morgenstern * Suppress a 'unused parameter' warning in detail::aggressive_ptr_cast pull-request 9 * Allowed to query non-existant sections pull-request 32 * More tests and docs Functional/Forward: * Fix C++11 compile error. Interprocess: * Fixed bug GitHub Pull 27 ("Fix undefined behavior"). Intrusive: * Fixed bugs: Boost Trac 11476: has_member_function_callable_with.hpp is massively broken with BOOST_NO_CXX11_DECLTYPE Boost Trac 11994: Support intrusive container key extractors that return the key by value Boost Trac 12184: clang -Wdocumentation warning Boost Trac 12190: Intrusive List + Flat Map combination crashes Boost Trac 12229: intrusive::unordered_set::rehash() broken Boost Trac 12245: bstree uses a shared static size_traits for constant_time_size Lexical Cast: * Fix incorrect static assertion 11759 Log: * New features: Added new tools for inter-process logging on a local machine. The implementation includes a resource name wrapper, an inter-process message queue and a sink backend. Added a new character decorator called max_size_decor. The new decorator allows to limit the output of its adopted formatter up to the specified length. * Bug fixes: Fixed that logging streams could retain formatting settings across different log records. (12178) See changelog for more details. Math: * New Features: Enabled all the special function code to work correctly with types whose precision can change at runtime: for example type mpfr_float from Boost.Multiprecision. * Patches: Fix tgamma_delta_ratio for cases where the delta is small compared to the base. Fix misc GCC-4.4 test failures. Optional: * Fixed Trac 12179. Phoenix: * Fix compilation for MSVC 10. pull-request 18 * Remove unused preprocessed files. pull-request 28 * Fix erroneous doc for switch_ statement. 8156 * Cleanup config unordered. pull-request 33 * Suppress unused placeholder warnings. * Fix too few arguments error on binary math functions. Regex: * Fix buffer over-run error when parsing certain invalid regexes, see 12222. * Fix detection of ICU in library build, see 12152. * Fix bug in case sensitivity change, see 11940. * Allow types wider than int in \x{} expressions (for char32_t etc), see 11988. Test: * Boost.test v3.3 see the Change log section for more details. * New features dataset driven test-cases have now a unique name and all sample tests of a dataset live inside the same test suite Boost.test learned a new command line switch, --logger for setting a test logger as well as its parameter in one command Boost.test learned to have several loggers at the same time, each of which having their own log level and output stream Boost.test learned a new logger, JUNIT, that is able to output Junit/xUnit compatible streams It is now possible to specify several test filters through the environment variable BOOST_TEST_RUN_FILTERS * Bug fixes Trac tickets 8707, 8834, 11128, 11845, 11859, 12024, Trac tickets 12093, 12103, 12224, 12241, 12257, 12378 Thread: * 12102 condition_variable_fwd.hpp fails to compile when BOOST_THREAD_PROVIDES_INTERRUPTIONS is disabled * 12120 Performance improvement in thread/barrier.hpp * 12146 make_exceptional_future is not mentioned in the docs * 12202 shared_lock should be in shared_mutex header * 12371 boost thread/future.hpp fails to build * 88 fix typos in boost::upgrade_lock * 89 fix a bug in upgrade_to_unique_lock<>::operator=() * 90 fix a bug in try_lock_wrapper<>::operator=() * 91 Add shared_lock_guard to the included lock types * 92 Fixed compilation with MSVC-8. * 93 Fix variable shadowing warnings (Clang) * 94 fix bugs in boost::barrier * 95 fix a mistake in boost::completion_latch * 96 rename async_func.hpp to invoker.hpp. * 97 fix a mistake in sync_timed_queue<>::pull_until() TypeIndex: * ctti_type_index was made constexpr in C++14. Now it is possible to retrieve actual name of the type as const char* at compile time. So we can do a lot of interesting things at compile time: check namespace of a type, sort types according to their lexical representation, check that type is a template type and so on... A few examples were provided. * Fixed issue with noexcept on MSVC in type names and issue with space in type name (pulled from klemens-morgenstern/develop) * Fixed typos pull-request 7 * Improved CI testing Unordered: * Remove use of deprecated boost::iterator. * Fixed an exception safety issue in assignment of unordered_multiset and unordered_multimap. * See the changelog for more details. Variant: * Fixed variant construction from classes derived from variant 7120, 10278, 12155 * Variant constructors and assignment operators now do not participate in overload resolutions if variant can not hold the input type 5871, 11602 * Fixed the issue with implicit conversion operator in C++11 8555 * Fixed comparisons when variant holds non-const reference 11751 * Fixed noexcept for variant's move-assignment 11696 * Fixed double quotes in includes 12057 * Dropped BOOST_VARIANT_NO_REFERENCE_SUPPORT macro and dropped support for compilers without SFINAE 12250 * Suppress implicit instantiation of MPL end iterator * Multiple minor fixes (typos, missing includes) --- meta-pkgs/boost/Makefile.common | 4 ++-- meta-pkgs/boost/distinfo | 15 +++++++-------- meta-pkgs/boost/patches/patch-aq | 14 +++++++------- .../boost/patches/patch-boost_config_stdlib_libcpp.hpp | 8 ++++---- .../boost/patches/patch-boost_optional_optional__fwd.hpp | 16 ---------------- 5 files changed, 20 insertions(+), 37 deletions(-) delete mode 100644 meta-pkgs/boost/patches/patch-boost_optional_optional__fwd.hpp (limited to 'meta-pkgs') diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common index cb98fe6291d..a7574f40462 100644 --- a/meta-pkgs/boost/Makefile.common +++ b/meta-pkgs/boost/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.58 2016/05/13 20:47:32 adam Exp $ +# $NetBSD: Makefile.common,v 1.59 2016/10/07 17:51:11 adam Exp $ # # used by devel/boost-build/Makefile # used by devel/boost-docs/Makefile @@ -9,7 +9,7 @@ BOOST_PACKAGE?= undefined BOOST_COMMENT?= undefined -BOOST_VERSION= 1.61.0 +BOOST_VERSION= 1.62.0 BOOST_SHORT_VERSION= ${BOOST_VERSION:S/./_/:C/\..*$//} DISTNAME= boost_${BOOST_VERSION:S/./_/g} diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo index 2db6e1fbc53..ea6ff96f67d 100644 --- a/meta-pkgs/boost/distinfo +++ b/meta-pkgs/boost/distinfo @@ -1,24 +1,23 @@ -$NetBSD: distinfo,v 1.88 2016/08/02 08:49:46 wiz Exp $ +$NetBSD: distinfo,v 1.89 2016/10/07 17:51:11 adam Exp $ -SHA1 (boost_1_61_0.tar.bz2) = f84b1a1ce764108ec3c2b7bd7704cf8dfd3c9d01 -RMD160 (boost_1_61_0.tar.bz2) = 1ceb250fcece242b54a999dbadbe2f3f1922541b -SHA512 (boost_1_61_0.tar.bz2) = a1c7338e2d2dbac8552ede7c554640d22cbb2fda7fbc325dc3cdcb51e769713626695426ffc158cbe0e1729dd9a7b5ad18af4800d74e24539e8d8564268c2b9d -Size (boost_1_61_0.tar.bz2) = 85202254 bytes +SHA1 (boost_1_62_0.tar.bz2) = 0fe1902cc1e8cfacece51870c7d1a9c3eda0c12a +RMD160 (boost_1_62_0.tar.bz2) = 7b0fc3dd58e2719b5262812cedfbda3d509de3c1 +SHA512 (boost_1_62_0.tar.bz2) = 1ec4030b63084637005a4d1ff43b651dded0a13a7d8d471c45c89bd6b86c228d5e177fce5d37f31cb599286f3eb62e0c2c7fb0e2a7054e5a4d1bcead11e375d2 +Size (boost_1_62_0.tar.bz2) = 84498477 bytes SHA1 (patch-aa) = 408a63a807aaa491130db018cd89bca6a427090d SHA1 (patch-ab) = 37c61bcfc27f1533df21f4392f80df2d2dbe51ef SHA1 (patch-ac) = 32d14b50682dae1950ed927ecb9318ad6b07687a SHA1 (patch-ad) = 0e5dc31c3425de94444f97a9b7dec97ed5967733 SHA1 (patch-ae) = ac2e4afcf243c2fee2394cfe3fe92f4890e9ab83 SHA1 (patch-ag) = 117eabbbbc26d04bb5e56df5ad92e55b5061c0f8 -SHA1 (patch-aq) = 2e7f9854b69e98f48b4613c80191369012405b56 +SHA1 (patch-aq) = 7503ba9813a143b9e99e43b3017a30bc5543fe16 SHA1 (patch-ar) = 2fec2c51272cc4ee376e6538d8f1fd8561a7f0a3 SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = a7dd240ff6f61368ae6a8500e7009021fa6cba71 SHA1 (patch-boost_config_posix__features.hpp) = c3e7187af35a2a25901b37388d3194e22d005323 -SHA1 (patch-boost_config_stdlib_libcpp.hpp) = af158d85db15ea15d9fac1dbd72a15632d2fcff3 +SHA1 (patch-boost_config_stdlib_libcpp.hpp) = 0a414394cbb1e8657311d2b744108d65ff0f927d SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe SHA1 (patch-boost_math_tools_config.hpp) = db3965cd810185116efd669df29067f58cc847e5 -SHA1 (patch-boost_optional_optional__fwd.hpp) = 2349b6342b75e2c3ff3001a02bc91f37e5e41035 SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12 SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711 SHA1 (patch-libs_config_test_boost__no__range__based__for.ipp) = d9936c472fc2c696d86522b36eb12813ae91bee4 diff --git a/meta-pkgs/boost/patches/patch-aq b/meta-pkgs/boost/patches/patch-aq index d1982a4efbf..aa187b2bb80 100644 --- a/meta-pkgs/boost/patches/patch-aq +++ b/meta-pkgs/boost/patches/patch-aq @@ -1,8 +1,8 @@ -$NetBSD: patch-aq,v 1.8 2015/08/14 07:54:04 adam Exp $ +$NetBSD: patch-aq,v 1.9 2016/10/07 17:51:11 adam Exp $ ---- boost/test/impl/execution_monitor.ipp.orig 2015-07-21 21:41:49.000000000 +0000 +--- boost/test/impl/execution_monitor.ipp.orig 2016-10-05 08:52:21.000000000 +0000 +++ boost/test/impl/execution_monitor.ipp -@@ -163,7 +163,8 @@ namespace { void _set_se_translator( voi +@@ -166,7 +166,8 @@ namespace { void _set_se_translator( voi # if defined(SIGPOLL) && !defined(__CYGWIN__) && \ !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && \ !defined(__NetBSD__) && \ @@ -12,7 +12,7 @@ $NetBSD: patch-aq,v 1.8 2015/08/14 07:54:04 adam Exp $ # define BOOST_TEST_CATCH_SIGPOLL # endif -@@ -368,6 +369,7 @@ system_signal_exception::report() const +@@ -365,6 +366,7 @@ system_signal_exception::report() const if( !m_sig_info ) return; // no error actually occur? @@ -20,7 +20,7 @@ $NetBSD: patch-aq,v 1.8 2015/08/14 07:54:04 adam Exp $ switch( m_sig_info->si_code ) { case SI_USER: report_error( execution_exception::system_error, -@@ -382,14 +384,18 @@ system_signal_exception::report() const +@@ -379,14 +381,18 @@ system_signal_exception::report() const report_error( execution_exception::system_error, "signal: the expiration of a timer set by timer_settimer()" ); break; @@ -39,8 +39,8 @@ $NetBSD: patch-aq,v 1.8 2015/08/14 07:54:04 adam Exp $ default: break; } -@@ -608,6 +614,7 @@ system_signal_exception::report() const - report_error( execution_exception::system_error, +@@ -605,6 +611,7 @@ system_signal_exception::report() const + report_error( execution_exception::system_error, "unrecognized signal %d", m_sig_info->si_signo ); } +#endif /* !__DragonFly__ */ diff --git a/meta-pkgs/boost/patches/patch-boost_config_stdlib_libcpp.hpp b/meta-pkgs/boost/patches/patch-boost_config_stdlib_libcpp.hpp index b52942a965f..7843782a431 100644 --- a/meta-pkgs/boost/patches/patch-boost_config_stdlib_libcpp.hpp +++ b/meta-pkgs/boost/patches/patch-boost_config_stdlib_libcpp.hpp @@ -1,6 +1,6 @@ -$NetBSD: patch-boost_config_stdlib_libcpp.hpp,v 1.3 2016/05/13 20:47:32 adam Exp $ +$NetBSD: patch-boost_config_stdlib_libcpp.hpp,v 1.4 2016/10/07 17:51:11 adam Exp $ ---- boost/config/stdlib/libcpp.hpp.orig 2016-05-05 21:11:02.000000000 +0000 +--- boost/config/stdlib/libcpp.hpp.orig 2016-10-05 08:52:16.000000000 +0000 +++ boost/config/stdlib/libcpp.hpp @@ -74,6 +74,8 @@ // libc++ uses a non-standard messages_base @@ -9,5 +9,5 @@ $NetBSD: patch-boost_config_stdlib_libcpp.hpp,v 1.3 2016/05/13 20:47:32 adam Exp +// libc++ uses inline namespaces +#define BOOST_DETAIL_NO_CONTAINER_FWD - #if defined(__has_include) - #if !__has_include() + #if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL) + // This is a bit of a sledgehammer, because really it's just libc++abi that has no diff --git a/meta-pkgs/boost/patches/patch-boost_optional_optional__fwd.hpp b/meta-pkgs/boost/patches/patch-boost_optional_optional__fwd.hpp deleted file mode 100644 index 94932825338..00000000000 --- a/meta-pkgs/boost/patches/patch-boost_optional_optional__fwd.hpp +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-boost_optional_optional__fwd.hpp,v 1.1 2016/08/02 08:49:46 wiz Exp $ - -Fix build issues when optional_fwd.hpp is used before including boost/config.hpp -https://github.com/boostorg/optional/pull/19/commits/844ca6a0d506e59daedabb2b94e1117ec4a7e71e - ---- boost/optional/optional_fwd.hpp.orig 2016-05-05 21:13:30.000000000 +0000 -+++ boost/optional/optional_fwd.hpp -@@ -16,7 +16,7 @@ - #ifndef BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP - #define BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP - --#include -+#include - - namespace boost { - -- cgit v1.2.3