<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a9d4e383a7f3a643d7e54f6f92c9901054f45756">https://github.com/macports/macports-ports/commit/a9d4e383a7f3a643d7e54f6f92c9901054f45756</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 a9d4e38  mpv: disable swift on xcode without swift 3 support
</span>a9d4e38 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit a9d4e383a7f3a643d7e54f6f92c9901054f45756
</span>Author: Kridsada Thanabulpong <sirn@ogsite.net>
AuthorDate: Wed Jul 10 10:25:50 2019 +0700

<span style='display:block; white-space:pre;color:#404040;'>    mpv: disable swift on xcode without swift 3 support
</span>---
 multimedia/mpv/Portfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mpv/Portfile b/multimedia/mpv/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7d93b98..53cd2dc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mpv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mpv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup               legacysupport 1.0
</span> 
 # Please revbump mpv whenever ffmpeg{,-devel} is updated!
 github.setup            mpv-player mpv 0.29.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                6
</span> categories              multimedia
 license                 GPL-2+
 maintainers             {ionic @Ionic}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -206,8 +206,10 @@ platform darwin {
</span>     # https://github.com/mpv-player/mpv/pull/6214
     patchfiles-append   patch-fix-swift-detection.diff
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # swift build tools test fails on 10.10 now
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${os.major} < 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # cocoa-cb backend requires Swift 3 support, which is only available
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # in Xcode 8.0 to Xcode 10.1. Xcode 10.2 ship with Swift 5 which
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # dropped Swift 3 compatibility.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[vercmp ${xcodeversion} 8.0] < 0 || {[vercmp ${xcodeversion} 10.2]} >= 0} {
</span>         configure.args-replace  --enable-swift \
                                 --disable-swift
     }
</pre><pre style='margin:0'>

</pre>