diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-05-28 10:34:30 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-05-28 23:19:04 +0200 |
commit | d723619fc30667514fea944256bd55afe5e219f0 (patch) | |
tree | e895446d063694bfa1fb6af27bfee8dcf20ddcba /gnu | |
parent | 02c8c3ffbdbdf914d8aa59d0161d01e4c4ddcf37 (diff) | |
download | guix-d723619fc30667514fea944256bd55afe5e219f0.tar.gz |
gnu: r-biostrings: Patch for R 4.2.0.
* gnu/packages/bioconductor.scm (r-biostrings)[arguments]: Add build phase 'patch-for-R-4.2.0.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bioconductor.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index bf371a970a..0410ff8a82 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -3104,6 +3104,19 @@ objects.") (properties `((upstream-name . "Biostrings"))) (build-system r-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; See commit c3340745870a88d1558e093a7f892c1aeac784ef in + ;; https://github.com/Bioconductor/Biostrings/ + (add-after 'unpack 'patch-for-R-4.2.0 + (lambda _ + (substitute* '("src/BitMatrix.c" + "src/RoSeqs_utils.c" + "src/match_pdict_utils.c" + "src/xscat.c") + (("#include <S.h>.*") + "#define Salloc(n,t) (t*)S_alloc(n, sizeof(t)) /* from old <S.h> */\n"))))))) (propagated-inputs (list r-biocgenerics r-crayon |