From c838d7eb9b0cf5e159bdbe9cf82e0866c2737513 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 26 Nov 2010 20:46:59 +0000 Subject: Changes 1.45.0: * Fixed a problem on kqueue-based platforms where a deadline_timer may never fire if the io_service is running in a background thread * Fixed a const-correctness issue that prevented valid uses of has_service<> from compiling * Fixed MinGW cross-compilation * Removed dependency on deprecated Boost.System functions * Ensured close()/closesocket() failures are correctly propagated * Added a check for errors returned by InitializeCriticalSectionAndSpinCount * Added support for hardware flow control on QNX * Always use pselect() on HP-UX, if it is available. * Ensured handler arguments are passed as lvalues * Fixed Windows build when thread support is disabled * Fixed a Windows-specific problem where deadline_timer objects with expiry times set more than 5 minutes in the future may never expire * Fixed the resolver backend on BSD platforms so that an empty service name resolves to port number 0, as per the documentation * Fixed read operations so that they do not accept buffer sequences of type const_buffers_1 * Redefined Protocol and id to avoid clashing with Objective-C++ keywords * Fixed a vector reallocation performance issue that can occur when there are many active deadline_timer objects * Fixed the kqueue backend so that it compiles on NetBSD * Fixed the socket io_control() implementation on 64-bit Mac OS X and BSD platforms * Fixed a Windows-specific problem where failures from accept() are incorrectly treated as successes * Deprecated the separate compilation header in favour of --- meta-pkgs/boost/Makefile.common | 4 ++-- meta-pkgs/boost/distinfo | 17 ++++++++--------- meta-pkgs/boost/patches/patch-aa | 8 ++++---- meta-pkgs/boost/patches/patch-ac | 6 +++--- meta-pkgs/boost/patches/patch-aq | 10 +++++----- meta-pkgs/boost/patches/patch-ar | 29 ++++++++++------------------- meta-pkgs/boost/patches/patch-as | 15 --------------- 7 files changed, 32 insertions(+), 57 deletions(-) delete mode 100644 meta-pkgs/boost/patches/patch-as (limited to 'meta-pkgs') diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common index 87ff23f1a3e..7f46a0ece99 100644 --- a/meta-pkgs/boost/Makefile.common +++ b/meta-pkgs/boost/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.25 2010/10/26 13:45:41 adam Exp $ +# $NetBSD: Makefile.common,v 1.26 2010/11/26 20:47:01 adam Exp $ # # used by devel/boost-build/Makefile # used by devel/boost-docs/Makefile @@ -10,7 +10,7 @@ BOOST_PACKAGE?= undefined BOOST_COMMENT?= undefined -BOOST_VERSION= 1.44.0 +BOOST_VERSION= 1.45.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 cc4fefdd936..73cd8e12f80 100644 --- a/meta-pkgs/boost/distinfo +++ b/meta-pkgs/boost/distinfo @@ -1,13 +1,12 @@ -$NetBSD: distinfo,v 1.29 2010/11/23 21:23:04 shattered Exp $ +$NetBSD: distinfo,v 1.30 2010/11/26 20:47:01 adam Exp $ -SHA1 (boost_1_44_0.tar.bz2) = 0dfeaad7a316ddfdcdb8a7e42443ef048ad18c01 -RMD160 (boost_1_44_0.tar.bz2) = 1fe1bf83ce5699dc43cbfc3d5a6997722c34c938 -Size (boost_1_44_0.tar.bz2) = 38806420 bytes -SHA1 (patch-aa) = 5a38ee7ad5f16a823d8bb81a95734e7957c55f2d +SHA1 (boost_1_45_0.tar.bz2) = eb7424ef99df4e38af7431e38ff9849651b8aaf5 +RMD160 (boost_1_45_0.tar.bz2) = 1402cb49e0d680268109ef1bf16aea9bc4a127b0 +Size (boost_1_45_0.tar.bz2) = 39330184 bytes +SHA1 (patch-aa) = b42e255c8ad2138f226ec14633aedeb9b9a9fd32 SHA1 (patch-ab) = 2fa89ce671e5fb0dca160a820524cff2d1ec8927 -SHA1 (patch-ac) = 12304069d394b56bb6294701ff30fe811a91abed +SHA1 (patch-ac) = 54d40e6a62cdf40c4155c64d9f02df475fbe111d SHA1 (patch-ad) = 299272ecd11cab1b5af099ef1a65e6db1daa4784 SHA1 (patch-af) = ef9a9363420f519c45baaf98badff4c885a7595c -SHA1 (patch-aq) = 6078cb5ac979c339a787e48cfe949e76613987e7 -SHA1 (patch-ar) = 6b7e3b808fe0c20d92522b87ee949690ce34f749 -SHA1 (patch-as) = c8aaf7f565c32a56d7cc9a9a6f8d82e292d5df85 +SHA1 (patch-aq) = e5c7b72ffa2942ce401f3d9bf05498fd761df17a +SHA1 (patch-ar) = 91981e2edb93666de78c203a6cef3d5011b2b26a diff --git a/meta-pkgs/boost/patches/patch-aa b/meta-pkgs/boost/patches/patch-aa index 0fd2eec18bd..d4f01607ed4 100644 --- a/meta-pkgs/boost/patches/patch-aa +++ b/meta-pkgs/boost/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.7 2009/10/14 06:40:08 adam Exp $ +$NetBSD: patch-aa,v 1.8 2010/11/26 20:47:01 adam Exp $ ---- Jamroot.orig 2009-08-23 18:17:37.000000000 +0200 +--- Jamroot.orig 2010-11-17 09:51:56.000000000 +0000 +++ Jamroot -@@ -251,6 +251,10 @@ rule libraries-to-install ( existing-lib +@@ -269,6 +269,10 @@ rule libraries-to-install ( existing-lib ECHO "error: both --with- and --without- specified" ; EXIT ; } @@ -13,7 +13,7 @@ $NetBSD: patch-aa,v 1.7 2009/10/14 06:40:08 adam Exp $ local wrong = [ set.difference $(with-parameter) : $(existing-libraries) ] ; if $(wrong) -@@ -439,6 +443,7 @@ install stage-proper +@@ -464,6 +468,7 @@ install stage-proper : $(stage-locate)/lib on LIB on diff --git a/meta-pkgs/boost/patches/patch-ac b/meta-pkgs/boost/patches/patch-ac index 4a57191c7aa..17df87d249e 100644 --- a/meta-pkgs/boost/patches/patch-ac +++ b/meta-pkgs/boost/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.5 2009/10/14 06:40:08 adam Exp $ +$NetBSD: patch-ac,v 1.6 2010/11/26 20:47:01 adam Exp $ ---- boost/config/suffix.hpp.orig 2009-06-06 15:48:57.000000000 +0200 +--- boost/config/suffix.hpp.orig 2010-10-01 09:19:44.000000000 +0000 +++ boost/config/suffix.hpp -@@ -226,7 +226,7 @@ +@@ -254,7 +254,7 @@ // #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \ || defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__)) \ diff --git a/meta-pkgs/boost/patches/patch-aq b/meta-pkgs/boost/patches/patch-aq index 2f87c377c51..b51d3aeae11 100644 --- a/meta-pkgs/boost/patches/patch-aq +++ b/meta-pkgs/boost/patches/patch-aq @@ -1,8 +1,8 @@ -$NetBSD: patch-aq,v 1.5 2009/10/14 06:40:08 adam Exp $ +$NetBSD: patch-aq,v 1.6 2010/11/26 20:47:01 adam Exp $ ---- boost/test/impl/execution_monitor.ipp.orig 2009-07-04 08:36:59.000000000 +0200 +--- boost/test/impl/execution_monitor.ipp.orig 2009-11-28 09:19:18.000000000 +0000 +++ boost/test/impl/execution_monitor.ipp -@@ -178,7 +178,8 @@ namespace { void _set_se_translator( voi +@@ -180,7 +180,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.5 2009/10/14 06:40:08 adam Exp $ # define BOOST_TEST_CATCH_SIGPOLL # endif -@@ -290,6 +291,7 @@ system_signal_exception::report() const +@@ -327,6 +328,7 @@ system_signal_exception::report() const if( !m_sig_info ) return; // no error actually occur? @@ -20,7 +20,7 @@ $NetBSD: patch-aq,v 1.5 2009/10/14 06:40:08 adam Exp $ switch( m_sig_info->si_code ) { case SI_USER: report_error( execution_exception::system_error, -@@ -571,6 +573,7 @@ system_signal_exception::report() const +@@ -608,6 +610,7 @@ system_signal_exception::report() const default: report_error( execution_exception::system_error, "unrecognized signal" ); } diff --git a/meta-pkgs/boost/patches/patch-ar b/meta-pkgs/boost/patches/patch-ar index dcc8534f6d5..9a93bf1d848 100644 --- a/meta-pkgs/boost/patches/patch-ar +++ b/meta-pkgs/boost/patches/patch-ar @@ -1,31 +1,22 @@ -$NetBSD: patch-ar,v 1.1 2010/08/25 22:50:13 tez Exp $ +$NetBSD: patch-ar,v 1.2 2010/11/26 20:47:01 adam Exp $ -Cater to compilers too stupid to interpret a bitwise OR in a template -argument as a constant. (From https://svn.boost.org/trac/boost/ticket/4146) - ---- boost/property_tree/detail/xml_parser_read_rapidxml.hpp.orig 2010-08-20 13:41:30.645363600 -0500 -+++ boost/property_tree/detail/xml_parser_read_rapidxml.hpp 2010-08-20 13:46:11.091510100 -0500 -@@ -94,9 +94,12 @@ +--- boost/property_tree/detail/xml_parser_read_rapidxml.hpp.orig 2010-10-15 12:40:04.000000000 +0000 ++++ boost/property_tree/detail/xml_parser_read_rapidxml.hpp +@@ -103,13 +103,13 @@ namespace boost { namespace property_tre + try { // Parse using appropriate flags - using namespace rapidxml; - const int f_tws = parse_normalize_whitespace - | parse_trim_whitespace; + const int f_tws = (parse_normalize_whitespace + | parse_trim_whitespace); const int f_c = parse_comment_nodes; + // Some compilers don't like the bitwise or in the template arg. +- const int f_tws_c = parse_normalize_whitespace + const int f_tws_c = (parse_normalize_whitespace -+ | parse_trim_whitespace -+ | parse_comment_nodes); + | parse_trim_whitespace +- | parse_comment_nodes; ++ | parse_comment_nodes); xml_document doc; if (flags & no_comments) { if (flags & trim_whitespace) -@@ -105,7 +108,7 @@ - doc.BOOST_NESTED_TEMPLATE parse<0>(&v.front()); - } else { - if (flags & trim_whitespace) -- doc.BOOST_NESTED_TEMPLATE parse(&v.front()); -+ doc.BOOST_NESTED_TEMPLATE parse(&v.front()); - else - doc.BOOST_NESTED_TEMPLATE parse(&v.front()); - } diff --git a/meta-pkgs/boost/patches/patch-as b/meta-pkgs/boost/patches/patch-as deleted file mode 100644 index b222c5d2d12..00000000000 --- a/meta-pkgs/boost/patches/patch-as +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-as,v 1.1 2010/11/23 21:23:04 shattered Exp $ - -From https://svn.boost.org/trac/boost/ticket/4794, fixes build on 4.0 - ---- boost/math/special_functions/cbrt.hpp.orig 2010-05-21 17:23:36.000000000 +0000 -+++ boost/math/special_functions/cbrt.hpp -@@ -69,7 +69,7 @@ T cbrt_imp(T z, const Policy& pol) - static_cast(1.5874010519681994747517056392723), // 2^2/3 - }; - -- if(!boost::math::isfinite(z)) -+ if(!(boost::math::isfinite)(z)) - { - return policies::raise_domain_error("boost::math::cbrt<%1%>(%1%)", "Argument to function must be finite but got %1%.", z, pol); - } -- cgit v1.2.3