<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch fix-mpv-mavericks
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/676c46a570ce63c1f14ff08b08aea8300a219961">https://github.com/macports/macports-ports/commit/676c46a570ce63c1f14ff08b08aea8300a219961</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 676c46a570ce63c1f14ff08b08aea8300a219961
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Tue Oct 16 18:32:35 2018 +0800
<span style='display:block; white-space:pre;color:#404040;'> mpv: fix building on Mavericks
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> And add --enable-swift following the explicit-enable convention of mpv.
</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/57385
</span>---
multimedia/mpv/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<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 55939b2..8b1b006 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;'>@@ -69,6 +69,7 @@ configure.args-append --enable-manpage-build \
</span> --enable-cocoa \
--enable-cplugins \
--enable-zlib \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-swift \
</span> --disable-html-build \
--disable-videotoolbox-gl \
--disable-cuda-hwaccel \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -210,6 +211,10 @@ platform darwin {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-fix-swift-detection.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Shared build fixes for 10.6 and 10.7.
if {${os.major} < 12} {
patchfiles-append patch-misc-import-CoreVideo.diff
</pre><pre style='margin:0'>
</pre>