<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3368d0de6f7822f85ca68548e5294fef716966ba">https://github.com/macports/macports-ports/commit/3368d0de6f7822f85ca68548e5294fef716966ba</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 3368d0de6f7 boost: force thread_local off on < 10.7
</span>3368d0de6f7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3368d0de6f7822f85ca68548e5294fef716966ba
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed May 5 23:38:22 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> boost: force thread_local off on < 10.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> libcxxabi installed on the buildbot does not have
</span><span style='display:block; white-space:pre;color:#404040;'> cxa_thread_atexit so until this is fixed we must
</span><span style='display:block; white-space:pre;color:#404040;'> disable thread_local on < 10.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/62242
</span>---
devel/boost/Portfile | 5 +++++
.../files/patch-boost-libcpp-force-thread-local-off.diff | 13 +++++++++++++
2 files changed, 18 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/boost/Portfile b/devel/boost/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5fccf3fd1af..3d62a00e59d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/boost/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/boost/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,6 +61,11 @@ post-extract {
</span>
patchfiles-append patch-apple-clang-no-libcxx.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# libcxxabi installed by the libcxx port on the buildbot does not
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# have the cxa_thread_atexit support, so until this is fixed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# we have to force thread_local off on < 10.7 when using libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-boost-libcpp-force-thread-local-off.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # temporary patch to fix: explicit template instanciations in
# boost::serialization don't get exported with all compilers; this fix
# is already in the boost repo & will be part of a future release. See
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/boost/files/patch-boost-libcpp-force-thread-local-off.diff b/devel/boost/files/patch-boost-libcpp-force-thread-local-off.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ed838b4f016
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/boost/files/patch-boost-libcpp-force-thread-local-off.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- boost/config/stdlib/libcpp.hpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ boost/config/stdlib/libcpp.hpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,6 +15,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# define BOOST_NO_CXX11_THREAD_LOCAL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define BOOST_STDLIB "libc++ version " BOOST_STRINGIZE(_LIBCPP_VERSION)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define BOOST_HAS_THREADS
</span></pre><pre style='margin:0'>
</pre>