<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/876ff1d844b345dc7b965964020866de797a9606">https://github.com/macports/macports-ports/commit/876ff1d844b345dc7b965964020866de797a9606</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 876ff1d844b opencv: disable AVFoundation on < 10.9
</span>876ff1d844b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 876ff1d844b345dc7b965964020866de797a9606
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Mon Dec 21 10:41:15 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> opencv: disable AVFoundation on < 10.9
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> the AVFoundation code is not compiling on 10.7
</span><span style='display:block; white-space:pre;color:#404040;'> or 10.8, and has not been for some time.
</span>---
graphics/opencv/Portfile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/opencv/Portfile b/graphics/opencv/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 78129b975f4..7b70c1bcfcd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/opencv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/opencv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -183,10 +183,12 @@ platform darwin {
</span> -DLAPACK_CBLAS_H=Accelerate/Accelerate.h \
-DLAPACK_LAPACKE_H=Accelerate/Accelerate.h
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # AVFoundation was introduced in 10.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # see https://developer.apple.com/documentation/avfoundation
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # see https://trac.macports.org/ticket/53562
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the AVFoundation backend is failing to build up to 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # it might be possible to work around or repair this on 10.7 and 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # there as a qtkit video implementation prior to the AVFoundation version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # that is about 2016 vintage. This could possibly be resuscitated if there
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # is motivation or interest in so doing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 13} {
</span> configure.args-append \
-DWITH_AVFOUNDATION=OFF
}
</pre><pre style='margin:0'>
</pre>