<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0a8e92f3934603422f25ce455b21b16af78155e3">https://github.com/macports/macports-ports/commit/0a8e92f3934603422f25ce455b21b16af78155e3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0a8e92f3934603422f25ce455b21b16af78155e3
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Sep 27 22:51:45 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> mozjs52, gjs: update compiler.blacklist to fix build on 10.9 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> mozjs52 requires clang-3.6 or equivalent to build.
</span>---
gnome/gjs/Portfile | 4 ++--
lang/mozjs52/Portfile | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gjs/Portfile b/gnome/gjs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 433b376..7fa66c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gjs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gjs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,8 +35,8 @@ use_autoreconf yes
</span> autoreconf.args -fvi
# Blacklist needs to match mozjs52:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# /opt/local/include/mozjs-24/mozilla/Compiler.h:22:4: error: #error "mfbt (and Gecko) require at least gcc 4.4 to build."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist *gcc* {clang < 300}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# mozjs52 requires clang-3.6 or equivalent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist *gcc* {clang < 602}
</span> compiler.blacklist-append {clang >= 900} macports-clang-4.0 macports-clang-devel
configure.args --disable-silent-rules
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/mozjs52/Portfile b/lang/mozjs52/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f15e843..e4ca891 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/mozjs52/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/mozjs52/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,7 +35,8 @@ depends_lib port:icu \
</span> port:xorg-libXt
# When modifying this blacklist, also update the gjs blacklist.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist *gcc* {clang < 300}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Requires clang-3.6 or equivalent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist *gcc* {clang < 602}
</span>
# This is most likely a project bug.
compiler.blacklist-append {clang >= 900} macports-clang-4.0 macports-clang-devel
</pre><pre style='margin:0'>
</pre>