summaryrefslogtreecommitdiff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-25 19:41:05 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-25 19:41:05 +0200
commitfc80efe1a0ea27e429e6b7bf467dd1f6aafe3ddf (patch)
tree4532d291f5425d7bc8c803669b4620746b7b5c15 /gnu/packages/bioinformatics.scm
parentf2e90d6f434c62f4f5a64eb7aac73eb27c900950 (diff)
gnu: bedtools-2.18: Fix build.
* gnu/packages/bioinformatics.scm (bedtools-2.18)[arguments]: Fix operators in 'compatibility phase.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d3e806bce6..1dbacdbd8d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -498,7 +498,11 @@ BED, GFF/GTF, VCF.")
"static constexpr float PERCENTAGE"))
(substitute* "src/utils/general/DualQueue.h"
(("template <class T, template<class T> class CompareFunc>")
- "template <class T, template<class U> class CompareFunc>"))))
+ "template <class T, template<class U> class CompareFunc>"))
+ (substitute* '("src/utils/BamTools/src/api/algorithms/Sort.h"
+ "src/utils/BamTools/src/api/internal/bam/BamMultiMerger_p.h")
+ (("(bool operator\\(\\).*) \\{" m pre)
+ (string-append pre " const {")))))
(delete 'configure)
(replace 'install
(lambda _