<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/37627404de84d08da852de9e6ba97eda80230b9d">https://github.com/macports/macports-ports/commit/37627404de84d08da852de9e6ba97eda80230b9d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 37627404de84d08da852de9e6ba97eda80230b9d
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Aug 10 05:53:06 2018 -0500

<span style='display:block; white-space:pre;color:#404040;'>    libvpx: Use -fno-integrated-as for clang >= 4 too
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    The comments indicate this flag should be used for clang 3.5 and later,
</span><span style='display:block; white-space:pre;color:#404040;'>    so make it actually do that.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/56814
</span>---
 multimedia/libvpx/Portfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libvpx/Portfile b/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f4be45d..af1de46 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -103,9 +103,11 @@ destroot.args       verbose=1
</span> #
 # This is an intentional change to Clang. It now parses the assembly output by default even when emitting assembly so that the diagnostics are consistent between "clang -c" and "clang -S".
 # The solution is either to pass -fno-integrated-as to the compiler, or change the assembly produced (& probably the script that processes it) so that it's valid. Note that commenting out the line won't work: comments get stripped by the same process.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Current Xcode versions of clang > 602 corresponding to Xcode 6.3 or greater also need this fix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Current Xcode versions of clang > 602 corresponding to Xcode 6.3 or greater also need this fix.
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[string match "macports-clang-3.\[5-9\]" ${configure.compiler}] ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match {macports-clang-3.[5-9]} ${configure.compiler}] ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    [string match {macports-clang-[4-9].*} ${configure.compiler}] ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    [string match {macports-clang-[1-9][0-9].*} ${configure.compiler}] ||
</span>     (${configure.compiler} eq "clang" && [compiler_blacklist_versions._get_compiler_version ${configure.compiler}] > 602)} {
         build.args-append CFLAGS_S=-fno-integrated-as
 }
</pre><pre style='margin:0'>

</pre>