<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/f6e4e0f5e136c75b65adc73d16f890bbbdf2c369">https://github.com/macports/macports-ports/commit/f6e4e0f5e136c75b65adc73d16f890bbbdf2c369</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f6e4e0f5e136c75b65adc73d16f890bbbdf2c369
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Fri May 26 09:48:03 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> libheif: fix builds for 10.5 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/67498
</span>---
multimedia/libheif/Portfile | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 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 8d9e291e9d4..a261c2c95f8 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;'>@@ -38,27 +38,22 @@ depends_lib-append \
</span> configure.args-append \
-DENABLE_PLUGIN_LOADING:BOOL=OFF
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Fix for error: non-portable path to file <DAV1D/xxx.h> and <AOM/xxx.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/67404
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Wno-nonportable-include-path \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Wno-error=nonportable-include-path \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Wno-error=unknown-warning-option \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Wno-unknown-warning-option
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.cxx_standard 2011
# error: unknown warning option '-Werror=potentially-evaluated-expression'
compiler.blacklist-append {clang < 700}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant tests description {Enable tests} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBUILD_TESTING:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DWITH_REDUCED_VISIBILITY:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> platform darwin {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} >= 10 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix for error: non-portable path to file <DAV1D/xxx.h> and <AOM/xxx.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/67404
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-nonportable-include-path \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-error=nonportable-include-path \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-unknown-warning-option \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-error=unknown-warning-option
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${os.major} < 11} {
# TODO: Disable rav1e on 10.6, due to issues with cargo-c; re-enable once fixed
# See: https://trac.macports.org/ticket/65434
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,3 +70,10 @@ platform darwin {
</span> -DWITH_AOM_ENCODER:BOOL=OFF
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tests description {Enable tests} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_TESTING:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_REDUCED_VISIBILITY:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>