gnu: r-cplm: Fix build with R 4.3.0.
* gnu/packages/cran.scm (r-cplm)[arguments]: Update headers to find definition for GET_SLOT.
This commit is contained in:
parent
6cb123b190
commit
63dea3caf0
1 changed files with 10 additions and 0 deletions
|
@ -373,6 +373,16 @@ queues, stacks, deques, dicts and ordered dicts.")
|
|||
(base32 "0mqjk10265hq9bc5ihmgbx1l8fzay1gpdlvx3pirqmvr3w1kwlxk"))))
|
||||
(properties `((upstream-name . "cplm")))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
;; GET_SLOT is only found in Rdefines.h
|
||||
(add-after 'unpack 'compatibility
|
||||
(lambda _
|
||||
(substitute* "src/common.h"
|
||||
(("#include <Rinternals.h>" m)
|
||||
(string-append m "\n#include <Rdefines.h>"))))))))
|
||||
(propagated-inputs
|
||||
(list r-biglm
|
||||
r-coda
|
||||
|
|
Reference in a new issue