mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: r-ffbase: Fix build with R 4.3.0.
* gnu/packages/cran.scm (r-ffbase)[arguments]: Add phase 'r-compatibility.
This commit is contained in:
parent
3b3c7ef1f7
commit
7e1d6bb247
1 changed files with 10 additions and 0 deletions
|
@ -5963,6 +5963,16 @@ (define-public r-ffbase
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue