<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/024713ca0861d6e888a90949fcf76bfedec0b4e8">https://github.com/macports/macports-ports/commit/024713ca0861d6e888a90949fcf76bfedec0b4e8</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 024713ca086 tree-sitter-cpp: update to 0.21.0
</span>024713ca086 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 024713ca0861d6e888a90949fcf76bfedec0b4e8
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Fri Apr 5 08:26:31 2024 +0900
<span style='display:block; white-space:pre;color:#404040;'> tree-sitter-cpp: update to 0.21.0
</span>---
devel/tree-sitter-cpp/Portfile | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/tree-sitter-cpp/Portfile b/devel/tree-sitter-cpp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 59a0531a224..0148aa99a23 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/tree-sitter-cpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/tree-sitter-cpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ PortGroup legacysupport 1.1
</span>
legacysupport.newest_darwin_requires_legacy 14
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup tree-sitter tree-sitter-cpp 0.20.5 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup tree-sitter tree-sitter-cpp 0.21.0 v
</span> revision 0
description A tree-sitter parser for C++
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,11 +20,18 @@ categories devel
</span> license MIT
maintainers {amake @amake} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 d43e541947626b1d30fe9dbd05b1474b486a4439 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 22ea4122ab6e949c0f66f80996e6ebcd4800048c65cbeb45cdb3bb3c4db57def \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1442688
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b4b03ee38473325515e559d2a40718bc852b3f8f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6c44cb0957d9cfa424bdc1bcb502115849e231266d1e1d7313c040a31aa6379a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1482431
</span>
worksrcdir ${worksrcdir}/src
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# FIXME: The following breaks the build on modern clang starting in 0.21.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# scanner.c:126:5: error: call to undeclared function 'static_assert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# static_assert(MAX_DELIMITER_LENGTH * sizeof(wchar_t) < TREE_SITTER_SERIALIZATION_BUFFER_SIZE,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ^
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span> # scanner.h: error: ‘for’ loop initial declaration used outside C99 mode
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -std=c99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# configure.cflags-append -std=c99
</span></pre><pre style='margin:0'>
</pre>