<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/b164244a0c8920f1e171d61cbb5a071767205b3b">https://github.com/macports/macports-ports/commit/b164244a0c8920f1e171d61cbb5a071767205b3b</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 b164244 mpv: fix build on SnowLeopard
</span>b164244 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b164244a0c8920f1e171d61cbb5a071767205b3b
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Dec 16 10:34:23 2018 -0800
<span style='display:block; white-space:pre;color:#404040;'> mpv: fix build on SnowLeopard
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> most previous patches appear no longer needed
</span><span style='display:block; white-space:pre;color:#404040;'> current app bundle version does not handle -psn_* so disable for now
</span><span style='display:block; white-space:pre;color:#404040;'> this may be able to be tweaked in future to re-enable bundle
</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/57663
</span><span style='display:block; white-space:pre;color:#404040;'> will close noted ticket if buildbots indicate success
</span>---
multimedia/mpv/Portfile | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 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 7a7f067..dff5c5d 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;'>@@ -3,6 +3,7 @@
</span> PortSystem 1.0
PortGroup github 1.0
PortGroup waf 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+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:#e0e0e0;'>@@ -51,7 +52,13 @@ depends_lib path:lib/libavcodec.dylib:ffmpeg \
</span>
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +bundle +network +osd +rubberband +opengl +dvd +audiocd +libarchive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +network +osd +rubberband +opengl +dvd +audiocd +libarchive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} > 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # current macOS bundle errors on < 10.7 due to unhandled -psn_* argument
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
# Current waf doesn't support --nocache anymore. Set by PortGroup.
configure.args-delete --nocache
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -229,18 +236,7 @@ platform darwin {
</span> # on getting the OpenGL output to work via X11.
# Also fix some other minor compile issues only manifesting on 10.6 and below along the way.
if {${os.major} < 11} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-wscript-support-older-GCC.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-misc-add-strnlen.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-waftools_detections_compiler.py-support-older-GCC.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-audio_out_ao_coreaudio_exclusive.c-compile-fix.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-video_out_opengl_video.c-fix-compile-warnings.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-audio_out_ao_coreaudio_utils.c-add-missing-header-for-getpid.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-video_out_opengl_common.h-guard-GL3-stuff.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-video_out_vo_opengl.c-guard-GL3-and-backport-old-behavior.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-video_out_opengl_common.c-hide-GL320-section.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-video_out_opengl_common.c-hide-GL3-timer-functions.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-video_out_opengl_video.c-remove-timer-functionality.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-video_out_opengl_video.c-hide-pbo-texture-upload.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-audio_out_ao_coreaudio_utils.c-add-missing-header-for-getpid.diff
</span>
notes-append {
On systems older than Lion (10.7) or on architectures other than x86_64, Cocoa output support is not available.
</pre><pre style='margin:0'>
</pre>