<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ea94393a8d8528a9be2f4dcf550dc116d3ae3a03">https://github.com/macports/macports-ports/commit/ea94393a8d8528a9be2f4dcf550dc116d3ae3a03</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 ea94393a8d8 hashcat: suppress typedef redef warnings
</span>ea94393a8d8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ea94393a8d8528a9be2f4dcf550dc116d3ae3a03
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Sat Jul 13 01:28:44 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> hashcat: suppress typedef redef warnings
</span>---
security/hashcat/Portfile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/hashcat/Portfile b/security/hashcat/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d0c1cb63fd..5c76d68cec2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/hashcat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/hashcat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +34,8 @@ patchfiles-append patch-remove-arch.patch
</span>
# Code does not actually need C11 but spits out numerous warnings like:
# warning: redefinition of typedef 'UINT_PTR' is a C11 feature [-Wtypedef-redefinition]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.c_standard 2011
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|-std=gnu99|-std=gnu11|" ${worksrcpath}/src/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Also see https://github.com/hashcat/hashcat/issues/4045
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.cc}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-typedef-redefinition
</span> }
</pre><pre style='margin:0'>
</pre>