<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/4147af4d319220892d1ef4ede205ee54ab34c494">https://github.com/macports/macports-ports/commit/4147af4d319220892d1ef4ede205ee54ab34c494</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4147af4d319220892d1ef4ede205ee54ab34c494
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Jun 7 10:05:57 2025 -0400

<span style='display:block; white-space:pre;color:#404040;'>    libgit2: force c99 via cmake
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/72428
</span>---
 devel/libgit2/Portfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgit2/Portfile b/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8d4d0bbbd2c..045793d4a66 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ set my_name         libgit2
</span> # don't forget to update py-pygit2 and libgit2-glib as well
 github.setup        libgit2 libgit2 1.9.0 v
 github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> epoch               1
 
 categories          devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,6 +64,10 @@ post-patch {
</span> 
 compiler.c_standard  1999
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Force cmake to pass `-std=c99`, otherwise `-std=c90` is used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See: https://trac.macports.org/ticket/72428
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.set_c_standard yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Clear optflags; controlled by project, via cmake build type
 configure.optflags
 
</pre><pre style='margin:0'>

</pre>