summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-01-30 15:06:24 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-01-30 15:16:20 +0100
commita4e75305e29318f19cf7e23e21778006d3f64e30 (patch)
tree807c70cf12c333f4d2201eadbcb97193a6d356e2 /gnu/packages/patches
parenta874d44053b01b1dfd0e0a2cea5594d0b849175a (diff)
gnu: r-sapa: Patch call of dstebz routine.
* gnu/packages/patches/r-sapa-lapack.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/cran.scm (r-sapa)[source]: Add it. Change-Id: I17354c4e8b3a0f322e17c9a1e17bc37c93630105
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/r-sapa-lapack.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/patches/r-sapa-lapack.patch b/gnu/packages/patches/r-sapa-lapack.patch
new file mode 100644
index 0000000000..1911b133c5
--- /dev/null
+++ b/gnu/packages/patches/r-sapa-lapack.patch
@@ -0,0 +1,23 @@
+From 5eb1faf8ee2eac3057ef55c99dd3083242559b9e Mon Sep 17 00:00:00 2001
+From: dbpercival <dbpercival@gmail.com>
+Date: Sat, 8 Jul 2023 16:26:35 -0700
+Subject: [PATCH] Update sapa_lapack.c
+
+Stephen's suggested change
+---
+ src/sapa_lapack.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sapa_lapack.c b/src/sapa_lapack.c
+index eff4851..a520e33 100644
+--- a/src/sapa_lapack.c
++++ b/src/sapa_lapack.c
+@@ -102,7 +102,7 @@ SEXP R_sapa_dpss(SEXP nsample, SEXP ntaper, SEXP bandwidth)
+ ISPLIT,
+ WORK1,
+ IWORK1,
+- &INFO);
++ &INFO FCONE FCONE);
+ // if (INFO != 0)
+ // error(_("error code %d from LAPACK routine '%s'"), info, "dstebz");
+