diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2016-11-23 12:45:46 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-11-23 12:45:46 +0000 |
commit | a8713d15f4d56c9054b5d6a952f5c3613f04959a (patch) | |
tree | 9f8db44177ed46a64b46576a24dfdf8ada114376 /devel/boost-libs/files | |
parent | Add ttyd: (diff) |
devel/boost-*: update to 1.62.0
- Enable `long double` C99 math usage
- Switch 9.x back to building with GCC
Changes: http://www.boost.org/users/history/
PR: 199601
Submitted by: Chen Xu, bapt, amdmi3, truckman (based on)
Reviewed by: rakuco (kde) (earlier version)
Exp-run by: antoine (3 tries), truckman (consumers only, earlier versions)
Approved by: bapt (office)
Notes
Notes:
svn path=/head/; revision=426908
Diffstat (limited to 'devel/boost-libs/files')
29 files changed, 96 insertions, 497 deletions
diff --git a/devel/boost-libs/files/patch-168e60aa3d5238cd25b341661a6c53e638dd6c33-plusclang b/devel/boost-libs/files/patch-168e60aa3d5238cd25b341661a6c53e638dd6c33-plusclang deleted file mode 100644 index 8caa42009e2f..000000000000 --- a/devel/boost-libs/files/patch-168e60aa3d5238cd25b341661a6c53e638dd6c33-plusclang +++ /dev/null @@ -1,23 +0,0 @@ ---- boost/concept/detail/general.hpp.orig 2010-06-08 19:31:13 UTC -+++ boost/concept/detail/general.hpp -@@ -65,10 +65,19 @@ struct requirement_<void(*)(Model)> - - # endif - -+// Version check from https://svn.boost.org/trac/boost/changeset/82886 -+// (boost/static_assert.hpp) -+#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__) -+#define BOOST_CONCEPT_UNUSED_TYPEDEF __attribute__((unused)) -+#else -+#define BOOST_CONCEPT_UNUSED_TYPEDEF /**/ -+#endif -+ - # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \ - typedef ::boost::concepts::detail::instantiate< \ - &::boost::concepts::requirement_<ModelFnPtr>::failed> \ -- BOOST_PP_CAT(boost_concept_check,__LINE__) -+ BOOST_PP_CAT(boost_concept_check,__LINE__) \ -+ BOOST_CONCEPT_UNUSED_TYPEDEF - - }} - diff --git a/devel/boost-libs/files/patch-5a9688e4ef22c51f77bf147589e3306bf8fd03df b/devel/boost-libs/files/patch-5a9688e4ef22c51f77bf147589e3306bf8fd03df deleted file mode 100644 index 3c3127d8c97d..000000000000 --- a/devel/boost-libs/files/patch-5a9688e4ef22c51f77bf147589e3306bf8fd03df +++ /dev/null @@ -1,38 +0,0 @@ ---- boost/math/special_functions/fpclassify.hpp.orig 2013-09-28 16:19:47 UTC -+++ boost/math/special_functions/fpclassify.hpp -@@ -348,7 +348,7 @@ inline bool (isfinite)(long double x) - { //!< \brief return true if floating-point type t is finite. - typedef detail::fp_traits<long double>::type traits; - typedef traits::method method; -- typedef boost::is_floating_point<long double>::type fp_tag; -+ //typedef boost::is_floating_point<long double>::type fp_tag; - typedef long double value_type; - return detail::isfinite_impl(static_cast<value_type>(x), method()); - } -@@ -419,7 +419,7 @@ inline bool (isnormal)(long double x) - { - typedef detail::fp_traits<long double>::type traits; - typedef traits::method method; -- typedef boost::is_floating_point<long double>::type fp_tag; -+ //typedef boost::is_floating_point<long double>::type fp_tag; - typedef long double value_type; - return detail::isnormal_impl(static_cast<value_type>(x), method()); - } -@@ -508,7 +508,7 @@ inline bool (isinf)(long double x) - { - typedef detail::fp_traits<long double>::type traits; - typedef traits::method method; -- typedef boost::is_floating_point<long double>::type fp_tag; -+ //typedef boost::is_floating_point<long double>::type fp_tag; - typedef long double value_type; - return detail::isinf_impl(static_cast<value_type>(x), method()); - } -@@ -594,7 +594,7 @@ inline bool (isnan)(long double x) - { //!< \brief return true if floating-point type t is NaN (Not A Number). - typedef detail::fp_traits<long double>::type traits; - typedef traits::method method; -- typedef boost::is_floating_point<long double>::type fp_tag; -+ //typedef boost::is_floating_point<long double>::type fp_tag; - return detail::isnan_impl(x, method()); - } - #endif diff --git a/devel/boost-libs/files/patch-7d1bf7680301331073761e81b85989b9ecee56d5 b/devel/boost-libs/files/patch-7d1bf7680301331073761e81b85989b9ecee56d5 deleted file mode 100644 index 50e70f591858..000000000000 --- a/devel/boost-libs/files/patch-7d1bf7680301331073761e81b85989b9ecee56d5 +++ /dev/null @@ -1,10 +0,0 @@ ---- boost/spirit/home/classic/core/primitives/primitives.hpp.orig 2008-06-22 15:05:38 UTC -+++ boost/spirit/home/classic/core/primitives/primitives.hpp -@@ -47,7 +47,6 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN - typename parser_result<self_t, ScannerT>::type - parse(ScannerT const& scan) const - { -- typedef typename parser_result<self_t, ScannerT>::type result_t; - typedef typename ScannerT::value_t value_t; - typedef typename ScannerT::iterator_t iterator_t; - diff --git a/devel/boost-libs/files/patch-a6b17d900155d2a04f54ad18fd89197001f231ab b/devel/boost-libs/files/patch-a6b17d900155d2a04f54ad18fd89197001f231ab deleted file mode 100644 index d50e9add3679..000000000000 --- a/devel/boost-libs/files/patch-a6b17d900155d2a04f54ad18fd89197001f231ab +++ /dev/null @@ -1,12 +0,0 @@ ---- boost/bind/arg.hpp.orig 2007-11-25 18:07:19 UTC -+++ boost/bind/arg.hpp -@@ -33,8 +33,7 @@ template< int I > struct arg - - template< class T > arg( T const & /* t */ ) - { -- // static assert I == is_placeholder<T>::value -- typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ]; -+ BOOST_STATIC_ASSERT( I == is_placeholder<T>::value ); - } - }; - diff --git a/devel/boost-libs/files/patch-bae401b1eb0594932c4e780d496cba852c23b75f b/devel/boost-libs/files/patch-bae401b1eb0594932c4e780d496cba852c23b75f deleted file mode 100644 index 1fc8e3db0eff..000000000000 --- a/devel/boost-libs/files/patch-bae401b1eb0594932c4e780d496cba852c23b75f +++ /dev/null @@ -1,49 +0,0 @@ ---- boost/asio/ssl/impl/context.ipp.orig 2013-10-26 23:25:53 UTC -+++ boost/asio/ssl/impl/context.ipp -@@ -87,6 +87,14 @@ context::context(context::method m) - handle_ = ::SSL_CTX_new(::SSLv2_server_method()); - break; - #endif // defined(OPENSSL_NO_SSL2) -+#if defined(OPENSSL_NO_SSL3) -+ case context::sslv3: -+ case context::sslv3_client: -+ case context::sslv3_server: -+ boost::asio::detail::throw_error( -+ boost::asio::error::invalid_argument, "context"); -+ break; -+#else // defined(OPENSSL_NO_SSL3) - case context::sslv3: - handle_ = ::SSL_CTX_new(::SSLv3_method()); - break; -@@ -96,6 +104,7 @@ context::context(context::method m) - case context::sslv3_server: - handle_ = ::SSL_CTX_new(::SSLv3_server_method()); - break; -+#endif // defined(OPENSSL_NO_SSL3) - case context::tlsv1: - handle_ = ::SSL_CTX_new(::TLSv1_method()); - break; ---- boost/asio/ssl/old/detail/openssl_context_service.hpp.orig 2013-05-20 12:32:20 UTC -+++ boost/asio/ssl/old/detail/openssl_context_service.hpp -@@ -85,6 +85,13 @@ public: - impl = ::SSL_CTX_new(::SSLv2_server_method()); - break; - #endif // defined(OPENSSL_NO_SSL2) -+#if defined(OPENSSL_NO_SSL3) -+ case context_base::sslv3: -+ case context_base::sslv3_client: -+ case context_base::sslv3_server: -+ boost::asio::detail::throw_error(boost::asio::error::invalid_argument); -+ break; -+#else // defined(OPENSSL_NO_SSL3) - case context_base::sslv3: - impl = ::SSL_CTX_new(::SSLv3_method()); - break; -@@ -94,6 +101,7 @@ public: - case context_base::sslv3_server: - impl = ::SSL_CTX_new(::SSLv3_server_method()); - break; -+#endif // defined(OPENSSL_NO_SSL3) - case context_base::tlsv1: - impl = ::SSL_CTX_new(::TLSv1_method()); - break; diff --git a/devel/boost-libs/files/patch-boost-filesystem-str_runtime b/devel/boost-libs/files/patch-boost-filesystem-str_runtime deleted file mode 100644 index c3b7f3a6c401..000000000000 --- a/devel/boost-libs/files/patch-boost-filesystem-str_runtime +++ /dev/null @@ -1,29 +0,0 @@ ---- libs/filesystem/src/path.cpp.orig 2012-04-16 15:36:28.000000000 +0200 -+++ libs/filesystem/src/path.cpp 2013-02-06 14:59:04.057292773 +0100 -@@ -35,7 +35,7 @@ - #ifdef BOOST_WINDOWS_API - # include "windows_file_codecvt.hpp" - # include <windows.h> --#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) -+#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__) - # include <boost/filesystem/detail/utf8_codecvt_facet.hpp> - #endif - -@@ -828,7 +828,7 @@ - codecvt_facet_ptr(&std::use_facet<std::codecvt<wchar_t, char, std::mbstate_t> > - (path_locale)); - --#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) -+#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__) - - // "All BSD system functions expect their string parameters to be in UTF-8 encoding - // and nothing else." See -@@ -903,7 +903,7 @@ - const path::codecvt_type& path::codecvt() - { - # if defined(BOOST_POSIX_API) && \ -- !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) -+ !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__)) - // A local static initialized by calling path::imbue ensures that std::locale(""), - // which may throw, is called only if path_locale and condecvt_facet will actually - // be used. Thus misconfigured environmental variables will only cause an diff --git a/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp b/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp deleted file mode 100644 index b99a44e983c9..000000000000 --- a/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp +++ /dev/null @@ -1,29 +0,0 @@ ---- boost/archive/iterators/transform_width.hpp.orig 2013-04-29 01:07:27.000000000 +0900 -+++ boost/archive/iterators/transform_width.hpp 2015-08-30 04:46:06.968463000 +0900 -@@ -30,6 +30,8 @@ - #include <boost/iterator/iterator_adaptor.hpp> - #include <boost/iterator/iterator_traits.hpp> - -+#include <algorithm> // std::min -+ - namespace boost { - namespace archive { - namespace iterators { -@@ -112,6 +114,7 @@ - transform_width(BOOST_PFTO_WRAPPER(T) start) : - super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start)))), - m_buffer_out_full(false), -+ m_buffer_in(0), - m_remaining_bits(0), - m_end_of_sequence(false) - {} -@@ -119,8 +122,8 @@ - transform_width(const transform_width & rhs) : - super_t(rhs.base_reference()), - m_buffer_out_full(rhs.m_buffer_out_full), -- m_remaining_bits(rhs.m_remaining_bits), - m_buffer_in(rhs.m_buffer_in), -+ m_remaining_bits(rhs.m_remaining_bits), - m_end_of_sequence(false) - {} - }; diff --git a/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp b/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp deleted file mode 100644 index cc8550821f21..000000000000 --- a/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp +++ /dev/null @@ -1,33 +0,0 @@ ---- boost/atomic/detail/cas128strong.hpp 2013-07-20 20:01:35.000000000 +0200 -+++ boost/atomic/detail/cas128strong.hpp.orig 2014-04-03 16:34:19.000000000 +0200 -@@ -196,15 +196,17 @@ - - public: - BOOST_DEFAULTED_FUNCTION(base_atomic(void), {}) -- explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0) -+ explicit base_atomic(value_type const& v) BOOST_NOEXCEPT - { -+ memset(&v_, 0, sizeof(v_)); - memcpy(&v_, &v, sizeof(value_type)); - } - - void - store(value_type const& value, memory_order order = memory_order_seq_cst) volatile BOOST_NOEXCEPT - { -- storage_type value_s = 0; -+ storage_type value_s; -+ memset(&value_s, 0, sizeof(value_s)); - memcpy(&value_s, &value, sizeof(value_type)); - platform_fence_before_store(order); - platform_store128(value_s, &v_); -@@ -247,7 +249,9 @@ - memory_order success_order, - memory_order failure_order) volatile BOOST_NOEXCEPT - { -- storage_type expected_s = 0, desired_s = 0; -+ storage_type expected_s, desired_s; -+ memset(&expected_s, 0, sizeof(expected_s)); -+ memset(&desired_s, 0, sizeof(desired_s)); - memcpy(&expected_s, &expected, sizeof(value_type)); - memcpy(&desired_s, &desired, sizeof(value_type)); - diff --git a/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp b/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp deleted file mode 100644 index d802998c5b4c..000000000000 --- a/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp +++ /dev/null @@ -1,53 +0,0 @@ ---- boost/atomic/detail/gcc-atomic.hpp 2013-07-20 20:01:35.000000000 +0200 -+++ boost/atomic/detail/gcc-atomic.hpp 2014-04-03 18:03:30.000000000 +0200 -@@ -958,14 +958,16 @@ - - public: - BOOST_DEFAULTED_FUNCTION(base_atomic(void), {}) -- explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0) -+ explicit base_atomic(value_type const& v) BOOST_NOEXCEPT - { -+ memset(&v_, 0, sizeof(v_)); - memcpy(&v_, &v, sizeof(value_type)); - } - - void store(value_type const& v, memory_order order = memory_order_seq_cst) volatile BOOST_NOEXCEPT - { -- storage_type tmp = 0; -+ storage_type tmp; -+ memset(&tmp, 0, sizeof(tmp)); - memcpy(&tmp, &v, sizeof(value_type)); - __atomic_store_n(&v_, tmp, atomics::detail::convert_memory_order_to_gcc(order)); - } -@@ -980,7 +982,8 @@ - - value_type exchange(value_type const& v, memory_order order = memory_order_seq_cst) volatile BOOST_NOEXCEPT - { -- storage_type tmp = 0; -+ storage_type tmp; -+ memset(&tmp, 0, sizeof(tmp)); - memcpy(&tmp, &v, sizeof(value_type)); - tmp = __atomic_exchange_n(&v_, tmp, atomics::detail::convert_memory_order_to_gcc(order)); - value_type res; -@@ -994,7 +997,9 @@ - memory_order success_order, - memory_order failure_order) volatile BOOST_NOEXCEPT - { -- storage_type expected_s = 0, desired_s = 0; -+ storage_type expected_s, desired_s; -+ memset(&expected_s, 0, sizeof(expected_s)); -+ memset(&desired_s, 0, sizeof(desired_s)); - memcpy(&expected_s, &expected, sizeof(value_type)); - memcpy(&desired_s, &desired, sizeof(value_type)); - const bool success = __atomic_compare_exchange_n(&v_, &expected_s, desired_s, false, -@@ -1010,7 +1015,9 @@ - memory_order success_order, - memory_order failure_order) volatile BOOST_NOEXCEPT - { -- storage_type expected_s = 0, desired_s = 0; -+ storage_type expected_s, desired_s; -+ memset(&expected_s, 0, sizeof(expected_s)); -+ memset(&desired_s, 0, sizeof(desired_s)); - memcpy(&expected_s, &expected, sizeof(value_type)); - memcpy(&desired_s, &desired, sizeof(value_type)); - const bool success = __atomic_compare_exchange_n(&v_, &expected_s, desired_s, true, diff --git a/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2 b/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2 deleted file mode 100644 index baae6898a06d..000000000000 --- a/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2 +++ /dev/null @@ -1,11 +0,0 @@ ---- libs/context/build/Jamfile.v2.orig 2014-09-22 13:05:35.000000000 +0000 -+++ libs/context/build/Jamfile.v2 2014-09-22 13:05:45.000000000 +0000 -@@ -66,7 +66,7 @@ feature.set-default abi : [ default_abi - - actions gas - { -- as -o "$(<)" "$(>)" -+ ${CC} -c -o "$(<)" "$(>)" - } - - actions armasm diff --git a/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp b/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp deleted file mode 100644 index 087b4ccccc19..000000000000 --- a/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp +++ /dev/null @@ -1,38 +0,0 @@ ---- boost/mpl/has_xxx.hpp.orig 2010-07-18 20:46:31.000000000 -0400 -+++ boost/mpl/has_xxx.hpp 2014-05-06 17:10:52.000000000 -0400 -@@ -341,7 +341,7 @@ - ) \ - /**/ - --# if !BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION -+# if !defined(BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION) || !BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION - # define BOOST_MPL_HAS_MEMBER_REJECT(args, member_macro) \ - template< typename V > \ - static boost::mpl::aux::no_tag \ -@@ -354,7 +354,7 @@ - /**/ - # endif - --# if !BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES -+# if !defined(BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES) || !BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES - # define BOOST_MPL_HAS_MEMBER_MULTI_ACCEPT(z, n, args) \ - template< typename V > \ - static boost::mpl::aux::yes_tag \ -@@ -383,7 +383,7 @@ - /**/ - # endif - --# if !BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION -+# if !defined(BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION) || !BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION - # define BOOST_MPL_HAS_MEMBER_TEST(args) \ - sizeof(BOOST_MPL_HAS_MEMBER_INTROSPECTION_TEST_NAME(args)< U >(0)) \ - == sizeof(boost::mpl::aux::yes_tag) \ -@@ -456,7 +456,7 @@ - ) \ - /**/ - --# if BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE -+# if defined(BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE) && BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE - - # if !defined(BOOST_MPL_HAS_XXX_NEEDS_NAMESPACE_LEVEL_SUBSTITUTE) - # if BOOST_WORKAROUND(BOOST_MSVC, <= 1400) diff --git a/devel/boost-libs/files/patch-boost__multi_array__base.hpp b/devel/boost-libs/files/patch-boost__multi_array__base.hpp deleted file mode 100644 index 7bec82f61fff..000000000000 --- a/devel/boost-libs/files/patch-boost__multi_array__base.hpp +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/multi_array/base.hpp.orig 2012-05-17 10:52:48.000000000 -0400 -+++ boost/multi_array/base.hpp 2014-05-06 17:14:55.000000000 -0400 -@@ -65,7 +65,7 @@ - // object creation in small-memory environments. Thus, the objects - // can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS - // before loading multi_array.hpp. --#if !BOOST_MULTI_ARRAY_NO_GENERATORS -+#ifndef BOOST_MULTI_ARRAY_NO_GENERATORS - namespace { - multi_array_types::extent_gen extents; - multi_array_types::index_gen indices; diff --git a/devel/boost-libs/files/patch-boost__predef__os__bsd.h b/devel/boost-libs/files/patch-boost__predef__os__bsd.h deleted file mode 100644 index 674a33088d6d..000000000000 --- a/devel/boost-libs/files/patch-boost__predef__os__bsd.h +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/predef/os/bsd.h.orig 2013-10-15 01:23:53.000000000 -0400 -+++ boost/predef/os/bsd.h 2014-05-06 18:06:32.000000000 -0400 -@@ -59,7 +59,7 @@ - #define BOOST_OS_BSD BOOST_VERSION_NUMBER_NOT_AVAILABLE - #endif - --#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \ -+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(BSD) || \ - defined(_SYSTYPE_BSD) \ - ) diff --git a/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h b/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h deleted file mode 100644 index 7396a63505b6..000000000000 --- a/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/predef/os/bsd/bsdi.h.orig 2013-10-15 01:23:53.000000000 -0400 -+++ boost/predef/os/bsd/bsdi.h 2014-05-06 18:06:28.000000000 -0400 -@@ -24,7 +24,7 @@ - - #define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE - --#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \ -+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(__bsdi__) \ - ) - # ifndef BOOST_OS_BSD_AVAILABLE diff --git a/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h b/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h deleted file mode 100644 index 79a943da3300..000000000000 --- a/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/predef/os/bsd/dragonfly.h.orig 2013-10-15 01:23:53.000000000 -0400 -+++ boost/predef/os/bsd/dragonfly.h 2014-05-06 18:06:28.000000000 -0400 -@@ -24,7 +24,7 @@ - - #define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE - --#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \ -+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(__DragonFly__) \ - ) - # ifndef BOOST_OS_BSD_AVAILABLE diff --git a/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h b/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h deleted file mode 100644 index aff0282d9f55..000000000000 --- a/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/predef/os/bsd/free.h.orig 2013-10-15 01:23:53.000000000 -0400 -+++ boost/predef/os/bsd/free.h 2014-05-06 17:25:43.000000000 -0400 -@@ -26,7 +26,7 @@ - - #define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_NOT_AVAILABLE - --#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \ -+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(__FreeBSD__) \ - ) - # ifndef BOOST_OS_BSD_AVAILABLE diff --git a/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h b/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h deleted file mode 100644 index 3582e8c7020d..000000000000 --- a/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/predef/os/bsd/net.h.orig 2013-10-15 01:23:53.000000000 -0400 -+++ boost/predef/os/bsd/net.h 2014-05-06 18:06:32.000000000 -0400 -@@ -31,7 +31,7 @@ - - #define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_NOT_AVAILABLE - --#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \ -+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(__NETBSD__) || defined(__NetBSD__) \ - ) - # ifndef BOOST_OS_BSD_AVAILABLE diff --git a/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h b/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h deleted file mode 100644 index d774de5d5de6..000000000000 --- a/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/predef/os/bsd/open.h.orig 2013-10-15 01:23:53.000000000 -0400 -+++ boost/predef/os/bsd/open.h 2014-05-06 18:06:32.000000000 -0400 -@@ -55,7 +55,7 @@ - - #define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE - --#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \ -+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(__OpenBSD__) \ - ) - # ifndef BOOST_OS_BSD_AVAILABLE diff --git a/devel/boost-libs/files/patch-boost__predef__os__macos.h b/devel/boost-libs/files/patch-boost__predef__os__macos.h deleted file mode 100644 index d106a35724bc..000000000000 --- a/devel/boost-libs/files/patch-boost__predef__os__macos.h +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/predef/os/macos.h.orig 2013-10-15 01:23:53.000000000 -0400 -+++ boost/predef/os/macos.h 2014-05-06 18:06:32.000000000 -0400 -@@ -31,7 +31,7 @@ - - #define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE - --#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \ -+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(macintosh) || defined(Macintosh) || \ - (defined(__APPLE__) && defined(__MACH__)) \ - ) diff --git a/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp b/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp deleted file mode 100644 index e628f24b14c9..000000000000 --- a/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp +++ /dev/null @@ -1,16 +0,0 @@ -# Description: Backport fix building test suite on non-x86 platforms -# PR: ports/182549 -# Upstream Issue: https://svn.boost.org/trac/boost/ticket/3897 -# Upstream Change: https://svn.boost.org/trac/boost/changeset/62780 - ---- ./boost/test/impl/execution_monitor.ipp.orig 2013-12-14 18:22:41.772892518 +1100 -+++ ./boost/test/impl/execution_monitor.ipp 2013-12-14 18:23:15.554395963 +1100 -@@ -156,6 +156,8 @@ - - # if defined(__FreeBSD__) - -+# include <osreldate.h> -+ - # ifndef SIGPOLL - # define SIGPOLL SIGIO - # endif diff --git a/devel/boost-libs/files/patch-boost_config_compiler_clang.hpp b/devel/boost-libs/files/patch-boost_config_compiler_clang.hpp new file mode 100644 index 000000000000..ed9ad4e0c569 --- /dev/null +++ b/devel/boost-libs/files/patch-boost_config_compiler_clang.hpp @@ -0,0 +1,34 @@ +--- boost/config/compiler/clang.hpp.orig 2016-09-21 14:33:21 UTC ++++ boost/config/compiler/clang.hpp +@@ -110,6 +110,16 @@ + # endif + #endif + ++// ++// Pick up _LIBCPP_VERSION definition if we are using libc++ ++// If _LIBCPP_VERSION is not defined, then we will assume that ++// we are compiling on FreeBSD 9.x and using ancient libstdc++ ++// from base gcc 4.2 with limited c++11 support. ++// ++#ifdef __cplusplus ++# include <ciso646> ++#endif ++ + #if !__has_feature(cxx_auto_type) + # define BOOST_NO_CXX11_AUTO_DECLARATIONS + # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +@@ -192,7 +202,13 @@ + # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX + #endif + +-#if !__has_feature(cxx_rvalue_references) ++// ++// clang on FreeBSD 9.x uses libstdc++ from base GCC 4.2.1 which ++// does not support std::forward which this feature requires. ++// Assume that the lack of a _LIBCPP_VERSION definition indicates ++// that is our environment. ++// ++#if !__has_feature(cxx_rvalue_references) || !defined(_LIBCPP_VERSION) + # define BOOST_NO_CXX11_RVALUE_REFERENCES + #endif + diff --git a/devel/boost-libs/files/patch-boost_math_tools_config.hpp b/devel/boost-libs/files/patch-boost_math_tools_config.hpp new file mode 100644 index 000000000000..a94db67b4a64 --- /dev/null +++ b/devel/boost-libs/files/patch-boost_math_tools_config.hpp @@ -0,0 +1,11 @@ +--- boost/math/tools/config.hpp.orig 2016-09-21 14:33:24 UTC ++++ boost/math/tools/config.hpp +@@ -28,7 +28,7 @@ + + #include <boost/math/tools/user.hpp> + +-#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \ ++#if (defined(__CYGWIN__) || defined(__NetBSD__) \ + || (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \ + && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS) + # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS diff --git a/devel/boost-libs/files/patch-boost_math_tools_tuple.hpp b/devel/boost-libs/files/patch-boost_math_tools_tuple.hpp new file mode 100644 index 000000000000..64266a13c38b --- /dev/null +++ b/devel/boost-libs/files/patch-boost_math_tools_tuple.hpp @@ -0,0 +1,12 @@ +https://svn.boost.org/trac/boost/ticket/12537 + +--- boost/math/tools/tuple.hpp.orig 2016-09-21 14:33:24 UTC ++++ boost/math/tools/tuple.hpp +@@ -6,6 +6,7 @@ + #ifndef BOOST_MATH_TUPLE_HPP_INCLUDED + # define BOOST_MATH_TUPLE_HPP_INCLUDED + # include <boost/config.hpp> ++# include <boost/detail/workaround.hpp> + + #if !defined(BOOST_NO_CXX11_HDR_TUPLE) && !BOOST_WORKAROUND(BOOST_GCC_VERSION, < 40500) + diff --git a/devel/boost-libs/files/patch-boost_static__assert.hpp b/devel/boost-libs/files/patch-boost_static__assert.hpp deleted file mode 100644 index 2c283f96ccdb..000000000000 --- a/devel/boost-libs/files/patch-boost_static__assert.hpp +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/static_assert.hpp.orig 2013-09-21 20:17:00 UTC -+++ boost/static_assert.hpp -@@ -67,7 +67,7 @@ - // - // If the compiler warns about unused typedefs then enable this: - // --#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) -+#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__) - # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused)) - #else - # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE diff --git a/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp b/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp deleted file mode 100644 index fdc9bccc3e62..000000000000 --- a/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp +++ /dev/null @@ -1,29 +0,0 @@ ---- boost/thread/pthread/once.hpp.orig 2013-03-23 01:48:21 UTC -+++ boost/thread/pthread/once.hpp -@@ -42,7 +42,7 @@ namespace boost - } - - #ifdef BOOST_THREAD_PROVIDES_ONCE_CXX11 --#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES -+#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) - template<typename Function, class ...ArgTypes> - inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args); - #else -@@ -65,7 +65,7 @@ namespace boost - private: - volatile thread_detail::uintmax_atomic_t epoch; - --#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES -+#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) - template<typename Function, class ...ArgTypes> - friend void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args); - #else -@@ -118,7 +118,7 @@ namespace boost - // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2444.html - - --#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES -+#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) - - - template<typename Function, class ...ArgTypes> diff --git a/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp b/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp deleted file mode 100644 index ed9d46ccbf57..000000000000 --- a/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/thread/pthread/once_atomic.hpp.orig 2013-03-23 01:48:21 UTC -+++ boost/thread/pthread/once_atomic.hpp -@@ -115,7 +115,7 @@ namespace boost - #endif - - --#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES -+#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) - - template<typename Function, class ...ArgTypes> - inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args) diff --git a/devel/boost-libs/files/patch-f9b3dcb203f29dff4b264d2430f7dca9ebd43ea6 b/devel/boost-libs/files/patch-f9b3dcb203f29dff4b264d2430f7dca9ebd43ea6 deleted file mode 100644 index bd83a12dc3aa..000000000000 --- a/devel/boost-libs/files/patch-f9b3dcb203f29dff4b264d2430f7dca9ebd43ea6 +++ /dev/null @@ -1,10 +0,0 @@ ---- boost/tuple/detail/tuple_basic.hpp.orig 2011-01-02 20:25:11 UTC -+++ boost/tuple/detail/tuple_basic.hpp -@@ -225,7 +225,6 @@ inline typename access_traits< - get(const cons<HT, TT>& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) { - typedef BOOST_DEDUCED_TYPENAME detail::drop_front<N>::BOOST_NESTED_TEMPLATE - apply<cons<HT, TT> > impl; -- typedef BOOST_DEDUCED_TYPENAME impl::type cons_element; - return impl::call(c).head; - } - diff --git a/devel/boost-libs/files/patch-tools__build__v2__tools__clang-linux.jam b/devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam index 532d2688b28a..5f25fd3e5823 100644 --- a/devel/boost-libs/files/patch-tools__build__v2__tools__clang-linux.jam +++ b/devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam @@ -1,6 +1,6 @@ ---- tools/build/v2/tools/clang-linux.jam.orig 2011-06-06 22:36:21.000000000 +0200 -+++ tools/build/v2/tools/clang-linux.jam 2014-02-09 22:19:34.000000000 +0100 -@@ -31,7 +31,7 @@ +--- tools/build/src/tools/clang-linux.jam.orig 2016-09-21 14:33:28 UTC ++++ tools/build/src/tools/clang-linux.jam +@@ -31,7 +31,7 @@ generators.override clang-linux.compile. generators.override clang-linux.compile.c++.pch : pch.default-cpp-pch-generator ; type.set-generated-target-suffix PCH @@ -9,7 +9,7 @@ toolset.inherit-rules clang-linux : gcc ; toolset.inherit-flags clang-linux : gcc -@@ -95,24 +95,24 @@ +@@ -96,24 +96,24 @@ rule compile.c++ ( targets * : sources * gcc.setup-fpic $(targets) : $(sources) : $(properties) ; gcc.setup-address-model $(targets) : $(sources) : $(properties) ; @@ -40,7 +40,7 @@ } rule compile.c ( targets * : sources * : properties * ) -@@ -121,25 +121,25 @@ +@@ -122,25 +122,25 @@ rule compile.c ( targets * : sources * : gcc.setup-fpic $(targets) : $(sources) : $(properties) ; gcc.setup-address-model $(targets) : $(sources) : $(properties) ; @@ -72,7 +72,7 @@ } ############################################################################### -@@ -152,7 +152,7 @@ +@@ -153,7 +153,7 @@ rule compile.c++.pch ( targets * : sourc } actions compile.c++.pch { @@ -81,7 +81,7 @@ } rule compile.c.pch ( targets * : sources * : properties * ) { -@@ -163,7 +163,7 @@ +@@ -164,7 +164,7 @@ rule compile.c.pch ( targets * : sources actions compile.c.pch { diff --git a/devel/boost-libs/files/patch-tools_build_src_tools_gcc.jam b/devel/boost-libs/files/patch-tools_build_src_tools_gcc.jam new file mode 100644 index 000000000000..1c3345c6ad14 --- /dev/null +++ b/devel/boost-libs/files/patch-tools_build_src_tools_gcc.jam @@ -0,0 +1,32 @@ +Adding /usr/lib32 to LD_LIBRARY_PATH may be poisonous if /usr/lib64 +doesn't exist while /usr/lib only constains .so but not .so.SOVERSION +files. Besides, LD_LIBRARY_PATH + -Wl,-rpath-link is same as -Wl,-rpath +that USE_GCC already passes. + +--- tools/build/src/tools/gcc.jam.orig 2016-09-21 14:33:28 UTC ++++ tools/build/src/tools/gcc.jam +@@ -210,24 +210,6 @@ rule init ( version ? : command * : opti + } + init-link-flags gcc $(linker) $(condition) ; + +- # If gcc is installed in a non-standard location, we would need to add +- # LD_LIBRARY_PATH when running programs created with it (for unit-test/run +- # rules). +- if $(command) +- { +- # On multilib 64-bit boxes, there are both 32-bit and 64-bit libraries +- # and all must be added to LD_LIBRARY_PATH. The linker will pick the +- # right onces. Note that we do not provide a clean way to build a 32-bit +- # binary using a 64-bit compiler, but user can always pass -m32 +- # manually. +- local lib_path = $(root)/bin $(root)/lib $(root)/lib32 $(root)/lib64 ; +- if $(.debug-configuration) +- { +- ECHO notice: using gcc libraries :: $(condition) :: $(lib_path) ; +- } +- toolset.flags gcc.link RUN_PATH $(condition) : $(lib_path) ; +- } +- + # If we are not using a system gcc installation we should adjust the various + # programs as needed to prefer using their installation specific versions. + # This is essential for correct use of MinGW and for cross-compiling. |