diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-04-28 23:29:17 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-04-29 20:28:08 +0200 |
commit | 63dea3caf035630e7c3998a66ff8a0744d12b1d0 (patch) | |
tree | 2719b41cc3601d1fed4ed5df2faa4f2914a7625d | |
parent | 6cb123b190f467dd947341c8a3ce56f14ee93831 (diff) | |
download | guix-63dea3caf035630e7c3998a66ff8a0744d12b1d0.tar guix-63dea3caf035630e7c3998a66ff8a0744d12b1d0.tar.gz |
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.
-rw-r--r-- | gnu/packages/cran.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index d918b51092..4cef21a46c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -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 |