<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ec39a5a3336f1aea6aa0755286c202c3814fe72b">https://github.com/macports/macports-ports/commit/ec39a5a3336f1aea6aa0755286c202c3814fe72b</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 ec39a5a qt5-qtmultimedia: build on Mac OS X 10.7
</span>ec39a5a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ec39a5a3336f1aea6aa0755286c202c3814fe72b
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Wed Dec 28 10:09:36 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt5-qtmultimedia: build on Mac OS X 10.7
</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/52922
</span>---
aqua/qt5/Portfile | 8 ++++++++
aqua/qt5/files/patch-firstObject.diff | 15 +++++++++++++++
2 files changed, 23 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/Portfile b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4197b89..c79d35f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1121,6 +1121,14 @@ foreach {module module_info} [array get modules] {
</span> # https://codereview.qt-project.org/#/c/172619/
patchfiles-append patch-qtconn-for-10.12.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtmultimedia" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [vercmp ${os.version} 12] < 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/52922
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-firstObject.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/files/patch-firstObject.diff b/aqua/qt5/files/patch-firstObject.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7b42bb9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/files/patch-firstObject.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/plugins/avfoundation/camera/avfcamerautility.mm.orig 2016-09-12 03:58:51.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/plugins/avfoundation/camera/avfcamerautility.mm 2016-12-28 09:44:52.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,6 +42,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <algorithm>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <limits>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// see https://trac.macports.org/ticket/52922
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// from the 10.9 SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@interface NSArray (MacPortsCompatibilityFirstObject)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- (id)firstObject NS_AVAILABLE(10_6, 4_0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AVFPSRange qt_connection_framerates(AVCaptureConnection *videoConnection)
</span></pre><pre style='margin:0'>
</pre>