<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d6307dd3c34709aeed8b24af5fbcce6b23118670">https://github.com/macports/macports-ports/commit/d6307dd3c34709aeed8b24af5fbcce6b23118670</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 d6307dd boost-numpy: fix build for Xcode >= 10.0
</span>d6307dd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d6307dd3c34709aeed8b24af5fbcce6b23118670
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Mar 28 05:57:01 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> boost-numpy: fix build for Xcode >= 10.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://github.com/boostorg/build/issues/440
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/60287
</span>---
devel/boost/Portfile | 3 +++
devel/boost/files/patch-clang_version.diff | 31 ++++++++++++++++++++++++++++++
2 files changed, 34 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 d3e3857..ec574a8 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;'>@@ -82,6 +82,9 @@ post-patch {
</span> reinplace "s|__MACPORTS_CXX__|${configure.cxx}|g" ${worksrcpath}/tools/build/src/tools/clang-darwin.jam
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://github.com/boostorg/build/issues/440
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-clang_version.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> proc write_jam s {
global worksrcpath
set config [open ${worksrcpath}/user-config.jam a]
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/boost/files/patch-clang_version.diff b/devel/boost/files/patch-clang_version.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..4ae5ad1
</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-clang_version.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 40960b23338da0a359d6aa83585ace09ad8804d2 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Bo Anderson <mail@boanderson.me>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 29 Mar 2020 14:55:08 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Fix compiler version check on macOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fixes #440.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/tools/darwin.jam | 5 +++--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 3 insertions(+), 2 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/src/tools/darwin.jam b/src/tools/darwin.jam
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 8d477410b0..97e7ecb851 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tools/build/src/tools/darwin.jam
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tools/build/src/tools/darwin.jam
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -137,13 +137,14 @@ rule init ( version ? : command * : options * : requirement * )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # - Set the toolset generic common options.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ common.handle-options darwin : $(condition) : $(command) : $(options) ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ real-version = [ regex.split $(real-version) \\. ] ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # - GCC 4.0 and higher in Darwin does not have -fcoalesce-templates.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if $(real-version) < "4.0.0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if [ version.version-less $(real-version) : 4 0 ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ flags darwin.compile.c++ OPTIONS $(condition) : -fcoalesce-templates ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # - GCC 4.2 and higher in Darwin does not have -Wno-long-double.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if $(real-version) < "4.2.0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if [ version.version-less $(real-version) : 4 2 ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ flags darwin.compile OPTIONS $(condition) : -Wno-long-double ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>
</pre>