<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ca1440a299bdf5845d84bef509504c447125b756">https://github.com/macports/macports-ports/commit/ca1440a299bdf5845d84bef509504c447125b756</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ca1440a299bdf5845d84bef509504c447125b756
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue Apr 30 07:55:30 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> R-Matrix: update to 1.7-0
</span>---
R/R-Matrix/Portfile | 15 ++++++++++-----
R/R-Matrix/files/patch-pre-10.7-fix-math.diff | 20 ++++++++++++++++++++
2 files changed, 30 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-Matrix/Portfile b/R/R-Matrix/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 14e52dde0ca..f97b7f2e24d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-Matrix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-Matrix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,17 +6,22 @@ PortGroup R 1.0
</span> R.recommended yes
# This is a recommended package. Keep it CRAN-sourced.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-R.setup cran r-forge Matrix 1.6-5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R.setup cran r-forge Matrix 1.7-0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories-append math
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
license GPL-2+
description Sparse and dense matrix classes and methods
long_description {*}${description}. Recommended package.
homepage-append https://Matrix.R-forge.R-project.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b4640c08da48a55987d5dcb34d39dd8b6a802870 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 726c8d46626e73d1d6e76a74679813c6df96ffdee1aee45d94e7014cb4ceb97d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2883851
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f46302e14ef9d029573d9ea7d475d45e10442d68 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 fb97bba0df370222eb4f7e2da2e94dd01053b5e054b1c51829ff9a6efc08ad37 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2471290
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# R-Matrix uses bundled parts of SuiteSparse. The version used in 1.7-0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# has a bug breaking it for < 10.7 (fixed in upstream already).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See: https://github.com/macports/macports-ports/commit/e485b0a0c8125cb9d8bcc6241a9c2016514188c8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-pre-10.7-fix-math.diff
</span>
# Notice that recommended packages must have all hard dependencies set explicitly.
depends_lib-append port:R-lattice
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-Matrix/files/patch-pre-10.7-fix-math.diff b/R/R-Matrix/files/patch-pre-10.7-fix-math.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9e433be258e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-Matrix/files/patch-pre-10.7-fix-math.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/SuiteSparse/SuiteSparse_config/SuiteSparse_config.h 2024-03-16 14:09:05.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/SuiteSparse/SuiteSparse_config/SuiteSparse_config.h 2024-04-29 19:07:48.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -37,6 +37,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <inttypes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stddef.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <limits.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <AvailabilityMacros.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// Should be defined before math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __NOEXTENSIONS__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __NOEXTENSIONS__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</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;'>+ #include <stdarg.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ctype.h>
</span></pre><pre style='margin:0'>
</pre>