[Midnightbsd-cvs] mports [19732] trunk/devel/boost-libs/files: update boost library to 1.55.0.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 12 22:26:47 EDT 2015


Revision: 19732
          http://svnweb.midnightbsd.org/mports/?rev=19732
Author:   laffer1
Date:     2015-08-12 22:26:47 -0400 (Wed, 12 Aug 2015)
Log Message:
-----------
update boost library to 1.55.0. Based on FreeBSD port

Added Paths:
-----------
    trunk/devel/boost-libs/files/patch-boost-filesystem-str_runtime
    trunk/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp
    trunk/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp
    trunk/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp
    trunk/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2
    trunk/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp
    trunk/devel/boost-libs/files/patch-boost__multi_array__base.hpp
    trunk/devel/boost-libs/files/patch-boost__predef__os__bsd.h
    trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h
    trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h
    trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h
    trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h
    trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h
    trunk/devel/boost-libs/files/patch-boost__predef__os__macos.h
    trunk/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp
    trunk/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp
    trunk/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp
    trunk/devel/boost-libs/files/patch-tools__build__v2__tools__clang-linux.jam

Added: trunk/devel/boost-libs/files/patch-boost-filesystem-str_runtime
===================================================================
--- trunk/devel/boost-libs/files/patch-boost-filesystem-str_runtime	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost-filesystem-str_runtime	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,29 @@
+--- 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


Property changes on: trunk/devel/boost-libs/files/patch-boost-filesystem-str_runtime
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- boost/archive/iterators/transform_width.hpp.orig	2013-04-28 18:07:27.000000000 +0200
++++ boost/archive/iterators/transform_width.hpp	2014-06-09 17:27:54.615330893 +0200
+@@ -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 {


Property changes on: trunk/devel/boost-libs/files/patch-boost__archive__iterators__transorm_width.hpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,33 @@
+--- 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));
+ 


Property changes on: trunk/devel/boost-libs/files/patch-boost__atomic__detail__cas128strong.hpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,53 @@
+--- 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,


Property changes on: trunk/devel/boost-libs/files/patch-boost__atomic__detail__gcc-atomic.hpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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


Property changes on: trunk/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,38 @@
+--- 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)


Property changes on: trunk/devel/boost-libs/files/patch-boost__mpl__has_xxx.hpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__multi_array__base.hpp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__multi_array__base.hpp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__multi_array__base.hpp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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;


Property changes on: trunk/devel/boost-libs/files/patch-boost__multi_array__base.hpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd.h
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__predef__os__bsd.h	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__predef__os__bsd.h	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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) \
+     )


Property changes on: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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


Property changes on: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__bsdi.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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


Property changes on: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__dragonfly.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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


Property changes on: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__free.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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


Property changes on: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__net.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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


Property changes on: trunk/devel/boost-libs/files/patch-boost__predef__os__bsd__open.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__predef__os__macos.h
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__predef__os__macos.h	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__predef__os__macos.h	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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__)) \
+     )


Property changes on: trunk/devel/boost-libs/files/patch-boost__predef__os__macos.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,16 @@
+# 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


Property changes on: trunk/devel/boost-libs/files/patch-boost__test__impl__execution_monitor.ipp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,29 @@
+--- 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>


Property changes on: trunk/devel/boost-libs/files/patch-boost_thread_pthread_once.hpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp
===================================================================
--- trunk/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,11 @@
+--- 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)


Property changes on: trunk/devel/boost-libs/files/patch-boost_thread_pthread_once__atomic.hpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/boost-libs/files/patch-tools__build__v2__tools__clang-linux.jam
===================================================================
--- trunk/devel/boost-libs/files/patch-tools__build__v2__tools__clang-linux.jam	                        (rev 0)
+++ trunk/devel/boost-libs/files/patch-tools__build__v2__tools__clang-linux.jam	2015-08-13 02:26:47 UTC (rev 19732)
@@ -0,0 +1,92 @@
+--- 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 @@
+ generators.override clang-linux.compile.c++.pch : pch.default-cpp-pch-generator ;
+  
+ type.set-generated-target-suffix PCH
+-  : <toolset>clang <toolset-clang:platform>linux : pth ;
++  : <toolset>clang <toolset-clang:platform>linux : pch ;
+ 
+ toolset.inherit-rules clang-linux : gcc ;
+ toolset.inherit-flags clang-linux : gcc 
+@@ -95,24 +95,24 @@
+   gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
+   gcc.setup-address-model $(targets) : $(sources) : $(properties) ;
+ 
+-  local pth-file = [ on $(<) return $(PCH_FILE) ] ;
++  local pch-file = [ on $(<) return $(PCH_FILE) ] ;
+ 
+-  if $(pth-file) {
+-    DEPENDS $(<) : $(pth-file) ;
++  if $(pch-file) {
++    DEPENDS $(<) : $(pch-file) ;
+     clang-linux.compile.c++.with-pch $(targets) : $(sources) ;
+   }
+   else {
+-    clang-linux.compile.c++.without-pth $(targets) : $(sources) ;
++    clang-linux.compile.c++.without-pch $(targets) : $(sources) ;
+   }
+ }
+ 
+-actions compile.c++.without-pth {
++actions compile.c++.without-pch {
+   "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)"
+ }
+ 
+ actions compile.c++.with-pch bind PCH_FILE
+ {
+-  "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pth -Xclang "$(PCH_FILE)" -o "$(<)" "$(>)"
++  "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pch -Xclang "$(PCH_FILE)" -o "$(<)" "$(>)"
+ }
+ 
+ rule compile.c ( targets * : sources * : properties * )
+@@ -121,25 +121,25 @@
+   gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
+   gcc.setup-address-model $(targets) : $(sources) : $(properties) ;    
+ 
+-  local pth-file = [ on $(<) return $(PCH_FILE) ] ;
++  local pch-file = [ on $(<) return $(PCH_FILE) ] ;
+ 
+-  if $(pth-file) {
+-    DEPENDS $(<) : $(pth-file) ;
++  if $(pch-file) {
++    DEPENDS $(<) : $(pch-file) ;
+     clang-linux.compile.c.with-pch $(targets) : $(sources) ;
+   }
+   else {
+-    clang-linux.compile.c.without-pth $(targets) : $(sources) ;
++    clang-linux.compile.c.without-pch $(targets) : $(sources) ;
+   }
+ }
+ 
+-actions compile.c.without-pth
++actions compile.c.without-pch
+ {
+   "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
+ }
+ 
+ actions compile.c.with-pch bind PCH_FILE
+ {
+-  "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pth -Xclang "$(PCH_FILE)" -c -o "$(<)" "$(>)"
++  "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pch -Xclang "$(PCH_FILE)" -c -o "$(<)" "$(>)"
+ }
+ 
+ ###############################################################################
+@@ -152,7 +152,7 @@
+ }
+ 
+ actions compile.c++.pch {
+-  rm -f "$(<)" && "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pth -o "$(<)" "$(>)"
++  rm -f "$(<)" && "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pch -o "$(<)" "$(>)"
+ }
+ 
+ rule compile.c.pch ( targets * : sources * : properties * ) {
+@@ -163,7 +163,7 @@
+ 
+ actions compile.c.pch
+ {
+-  rm -f "$(<)" && "$(CONFIG_COMMAND)" -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pth -o "$(<)" "$(>)"
++  rm -f "$(<)" && "$(CONFIG_COMMAND)" -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pch -o "$(<)" "$(>)"
+ }
+ 
+ ###############################################################################


Property changes on: trunk/devel/boost-libs/files/patch-tools__build__v2__tools__clang-linux.jam
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list