<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/817e3689f6a770e0fc110fceafd8435cf3d34a28">https://github.com/macports/macports-ports/commit/817e3689f6a770e0fc110fceafd8435cf3d34a28</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 817e3689f6a apbs: unbreak build with gcc
</span>817e3689f6a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 817e3689f6a770e0fc110fceafd8435cf3d34a28
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Sat Aug 31 15:45:11 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> apbs: unbreak build with gcc
</span>---
science/apbs/Portfile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/apbs/Portfile b/science/apbs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 46579db31f1..dcdc2ba3624 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/apbs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/apbs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,12 +54,23 @@ platform darwin {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib port:maloc \
port:superlu \
port:SuiteSparse
configure.optflags -O3 -ffast-math
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags-append -I${worksrcpath}/include -Wno-error=implicit-int -Wno-error=incompatible-function-pointer-types
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cppflags-append -I${worksrcpath}/include -Wno-error=implicit-int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-error=incompatible-function-pointer-types
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[string match *gcc* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-error=incompatible-pointer-types
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Follow Debian's approach of not building those
# features like BEM, GEOFLOW or PBAM that only
# exist in apbs's github without tagged releases yet.
</pre><pre style='margin:0'>
</pre>