<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/192550ad6bbbc7fe64e5433122345a3bbef6de16">https://github.com/macports/macports-ports/commit/192550ad6bbbc7fe64e5433122345a3bbef6de16</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 192550ad6bbbc7fe64e5433122345a3bbef6de16
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun May 28 12:53:41 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    libheif: enable aom, rav1e for older systems; fix gcc build
</span>---
 multimedia/libheif/Portfile | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libheif/Portfile b/multimedia/libheif/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4c4af8cf01a..06a67269db6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libheif/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libheif/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup                   cmake 1.1
</span> PortGroup                   compiler_blacklist_versions 1.0
 
 github.setup                strukturag libheif 1.16.2 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                    0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                    1
</span> 
 checksums                   rmd160  47615c2fa85ee1163bd4ad787aedd44b90f71d4f \
                             sha256  7f97e4205c0bd9f9b8560536c8bd2e841d1c9a6d610401eb3eb87ed9cdfe78ea \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,9 +47,10 @@ compiler.cxx_standard       2011
</span> compiler.blacklist-append   {clang < 700}
 
 platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if { ${os.major} >= 10 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} >= 10 && [string match *clang* ${configure.compiler}]} {
</span>         # Fix for error: non-portable path to file <DAV1D/xxx.h> and <AOM/xxx.h>
         # https://trac.macports.org/ticket/67404
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Flags are Clang-specific, they break build with GCC.
</span>         configure.cxxflags-append \
                             -Wno-nonportable-include-path \
                             -Wno-error=nonportable-include-path \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,21 +58,14 @@ platform darwin {
</span>                             -Wno-error=unknown-warning-option
     }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # TODO: Disable rav1e on 10.6, due to issues with cargo-c; re-enable once fixed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} < 10 || (${os.major} == 10 && ${build_arch} eq "ppc")} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # TODO: Disable rav1e on <10.6, due to issues with cargo-c; enable if fixed.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Do not enable on PPC until Rust is fixed or it becomes possible to build with gccrs.
</span>         # See: https://trac.macports.org/ticket/65434
         depends_lib-delete      port:rav1e
         configure.args-append \
                                 -DWITH_RAV1E:BOOL=OFF
     }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${os.major} < 10 || (${os.major} == 10 && ${build_arch} eq "ppc")} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # https://trac.macports.org/ticket/62619
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # aom does not build on 10.6 Rosetta too
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        depends_lib-delete      port:aom
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                -DWITH_AOM_DECODER:BOOL=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                -DWITH_AOM_ENCODER:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span> }
 
 variant tests description {Enable tests} {
</pre><pre style='margin:0'>

</pre>