<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/81728bfa7dc91877aecdd83877652ce49e1435fb">https://github.com/macports/macports-ports/commit/81728bfa7dc91877aecdd83877652ce49e1435fb</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 81728bfa7dc opencv4: revert to 4.5.0 for MacOS 10.8 and earlier
</span>81728bfa7dc is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 81728bfa7dc91877aecdd83877652ce49e1435fb
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue May 11 08:36:26 2021 -0400

<span style='display:block; white-space:pre;color:#404040;'>    opencv4: revert to 4.5.0 for MacOS 10.8 and earlier
</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/62847
</span>---
 graphics/opencv4/Portfile | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/opencv4/Portfile b/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ad46b2c3b75..e6d2b709347 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,9 +22,7 @@ PortGroup           github 1.0
</span> # Thanks!
 #==============================================================================
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        opencv opencv 4.5.2
</span> name                opencv4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span> categories          graphics science
 platforms           darwin
 license             BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,16 +45,32 @@ long_description    OpenCV (Open Source Computer Vision Library) is an \
</span> 
 homepage            https://opencv.org
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        ${github.master_sites}:${github.project}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles           [lindex ${distfiles} 0]:${github.project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# OpenCV 4 fails to build on MacOS 10.8 and earlier, from 4.5.1 on.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# So for now, revert to 4.5.0 for older MacOS releases, until we can
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# determine a formal fix.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} > 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    github.setup    opencv opencv 4.5.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    revision        1
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    checksums-append \
</span>                     ${distname}${extract.suffix} \
                     rmd160  bd0cdb07ef5fe5c16c31cdd448b3286c3e28ff5a \
                     sha256  926387dff78bed95997baa9378b62151c34b86e6dfd3e8136b3e4e1fdb075114 \
                     size    88931021
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    github.setup    opencv opencv 4.5.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    revision        5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    checksums-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    ${distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  fadb405b7d38f829775da60a62d29368b2159ce4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  03d9f7d777d8a62a5481934dbba2fd692b6cb43f1690a8546e45f9bdb1ee0863 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    90119002
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        ${github.master_sites}:${github.project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles           [lindex ${distfiles} 0]:${github.project}
</span> 
 #------------------------------------------------------------------------------
 # Subport name used for staging files, etc.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -415,11 +429,20 @@ if {${name} eq ${subport}} {
</span>                     https://github.com/${github.author}/${github.project}_contrib/tarball/${version}:${github.project}_contrib
         distfiles-append \
                     ${github.project}_contrib-${version}${extract.suffix}:${github.project}_contrib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        checksums-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {${os.major} > 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            checksums-append \
</span>                     ${github.project}_contrib-${version}${extract.suffix} \
                     rmd160  0570fcc9877360657254358864852ea009090a64 \
                     sha256  2005a3accacb01b672fee5666cd9033de7bbe8909eedc3704b9e9892434de613 \
                     size    60801888
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            checksums-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    ${github.project}_contrib-${version}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  179e9842172a67db96c976e6ab4944b826835970 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  f16aa7c7960e6a0d855b681d19437d4e05bc8abd6af5adf5ab86f37d1019d663 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    60120338
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span> 
         depends_lib-append \
                     port:protobuf3-cpp \
</pre><pre style='margin:0'>

</pre>