mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 18:56:43 +01:00
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.
This commit is contained in:
parent
02c8c3ffbd
commit
d723619fc3
1 changed files with 13 additions and 0 deletions
|
@ -3104,6 +3104,19 @@ (define-public r-biostrings
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue