<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/37f222b4f8f1a9a9b71cae9b0eb2a35fd7a845e1">https://github.com/macports/macports-ports/commit/37f222b4f8f1a9a9b71cae9b0eb2a35fd7a845e1</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 37f222b4f8f libgit2: fix Wdocumentation errors, round 2 See: https://github.com/macports/macports-ports/commit/b68f65f8e59f43768a40d05e6464a18048b66700 Fixes: https://trac.macports.org/ticket/65585
</span>37f222b4f8f is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 37f222b4f8f1a9a9b71cae9b0eb2a35fd7a845e1
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed Aug 31 12:23:56 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    libgit2: fix Wdocumentation errors, round 2
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://github.com/macports/macports-ports/commit/b68f65f8e59f43768a40d05e6464a18048b66700
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/65585
</span>---
 devel/libgit2/Portfile                        | 3 +--
 devel/libgit2/files/patch-tests-no-error.diff | 9 +++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

<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 b362b777c18..fb2a0005d38 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;'>@@ -42,8 +42,7 @@ depends_lib         port:curl \
</span> 
 # Fix for error: parameter '...' not found in the function declaration
 # See: https://trac.macports.org/ticket/65585
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    -Wno-error=documentation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-tests-no-error.diff
</span> 
 configure.args-append \
                     -DREGEX_BACKEND:STRING=pcre2 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgit2/files/patch-tests-no-error.diff b/devel/libgit2/files/patch-tests-no-error.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c368b1f821f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgit2/files/patch-tests-no-error.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/headertest/CMakeLists.txt.orig   2022-08-31 12:12:14.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/headertest/CMakeLists.txt        2022-08-31 12:12:48.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10,5 +10,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (MSVC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   target_compile_options(headertest PUBLIC /W4 /WX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  target_compile_options(headertest PUBLIC -Wall -Wextra -pedantic -Werror)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  target_compile_options(headertest PUBLIC -Wall -Wextra -pedantic -Wno-error)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span></pre><pre style='margin:0'>

</pre>