[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: r-ffbase: Fix build with R 4.3.0.
From: |
guix-commits |
Subject: |
branch master updated: gnu: r-ffbase: Fix build with R 4.3.0. |
Date: |
Sun, 30 Apr 2023 04:58:12 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 7e1d6bb247 gnu: r-ffbase: Fix build with R 4.3.0.
7e1d6bb247 is described below
commit 7e1d6bb247c617120e76ea922192f84830594386
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Apr 30 10:57:10 2023 +0200
gnu: r-ffbase: Fix build with R 4.3.0.
* gnu/packages/cran.scm (r-ffbase)[arguments]: Add phase 'r-compatibility.
---
gnu/packages/cran.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5e0c74aa44..bdb3603942 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5963,6 +5963,16 @@ in main memory.")
(base32
"1dp6lblfq2j7r1b4b8ls47jlx8j27n88d5vp8w116lb8pa01zxmk"))))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ ;; R 4.3.0 removed the typedef for Sint, which used to be just int.
+ (add-after 'unpack 'r-compatibility
+ (lambda _
+ (substitute* '("src/grouprunningcumsum.c"
+ "src/grouprunningcumsumindex.c")
+ (("\\bSint ") "int ")))))))
(propagated-inputs
(list r-bit r-fastmatch r-ff))
(home-page "https://github.com/edwindj/ffbase")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: r-ffbase: Fix build with R 4.3.0.,
guix-commits <=