<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/12cfeb517062b7cd3d0992fc726699b9d77d5e02">https://github.com/macports/macports-ports/commit/12cfeb517062b7cd3d0992fc726699b9d77d5e02</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 12cfeb517062b7cd3d0992fc726699b9d77d5e02
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sun Aug 14 14:12:23 2022 +0700
<span style='display:block; white-space:pre;color:#404040;'> fizz: fix build for older systems
</span>---
devel/fizz/Portfile | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/fizz/Portfile b/devel/fizz/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 66e42a2495c..8dc59f44725 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/fizz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/fizz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,10 @@ PortGroup github 1.0
</span> PortGroup boost 1.0
PortGroup openssl 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup legacysupport 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# O_CLOEXEC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 10
</span>
github.setup facebookincubator fizz 2022.08.08.00 v
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,16 +28,6 @@ github.tarball_from releases
</span> distname ${name}-v${version}
extract.mkdir yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- known_fail yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${subport} requires macOS 10.12 or later"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "incompatible macOS version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> set port_libfmt libfmt9
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,3 +57,14 @@ cmake.generator Ninja
</span> configure.args-append \
-DBUILD_TESTS=OFF \
-DBUILD_SHARED_LIBS=ON
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://kumasento.github.io/2020-06-12-glog-gflags-and-c-abi/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -D_GLIBCXX_USE_CXX11_ABI=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[string match *gcc* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ___atomic_fetch_add_8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append -latomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>