<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/01f161f5ce1e78cf30de9fda4d21b252b91b248e">https://github.com/macports/macports-ports/commit/01f161f5ce1e78cf30de9fda4d21b252b91b248e</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 01f161f5ce1 kig: fix the build
</span>01f161f5ce1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 01f161f5ce1e78cf30de9fda4d21b252b91b248e
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Thu Jul 18 23:56:59 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> kig: fix the build
</span>---
kde/kig/Portfile | 13 +++++++++----
kde/kig/files/patch-isfinite.diff | 29 +++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/kde/kig/Portfile b/kde/kig/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 38941018ca3..04153c534e7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/kde/kig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/kde/kig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,19 +14,24 @@ description Interactive Geometry
</span> long_description KDE ${description}
homepage https://www.kde.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> master_sites kde:stable/${version}/src/
use_xz yes
checksums rmd160 eac3d01e3ed708f6919684e30b59aad4199e43a7 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2e71d86b14b4d09722b54e7b239c238558d35227465c0e5c62e9e6eb34cce3ce
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2e71d86b14b4d09722b54e7b239c238558d35227465c0e5c62e9e6eb34cce3ce \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1506492
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Binaries do not link to openssl, nor use the ssl backend of kdelibs4
</span> license_noconflict openssl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Use canonical isfinite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-isfinite.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:libkdeedu
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# cc1plus: error: unrecognized command line option "-std=c++11"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![variant_isset docs]} {
patchfiles-append patch-CMakeLists.txt.diff
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/kde/kig/files/patch-isfinite.diff b/kde/kig/files/patch-isfinite.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e9517ecea5e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/kde/kig/files/patch-isfinite.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- misc/cubic-common.cc 2014-10-25 10:44:23.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ misc/cubic-common.cc 2024-07-18 14:40:32.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,6 +21,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <config-kig.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_IEEEFP_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ieeefp.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -538,5 +540,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bool CubicCartesianData::valid() const
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return finite( coeffs[0] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return isfinite( coeffs[0] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- misc/conic-common.cpp 2014-10-25 10:44:23.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ misc/conic-common.cpp 2024-07-18 14:31:27.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -889,6 +889,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bool ConicCartesianData::valid() const
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return finite( coeffs[0] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return isfinite( coeffs[0] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>