summaryrefslogtreecommitdiff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2026-03-23 11:45:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2026-03-23 13:58:44 +0200
commit2c52ce2a5fcc8848915f7dcd4013ca2c9c0d63ea (patch)
tree0e5d434780cca76daa81c97060b81463ae48bb72 /gnu/packages/bioinformatics.scm
parentc7d24e6fbe00286b6862c4de65a9276344e44dc6 (diff)
gnu: bpp-core: Build with default gcc.
* gnu/packages/bioinformatics.scm (bpp-core)[native-inputs]: Remove gcc-10. [arguments]: Add a phase to add a missing include statement. Change-Id: I53cd0c86df7cf5476149c22746c1de971d6770e8
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 544de8bac84..a844c3432e9 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5203,9 +5203,14 @@ easy-to-perform steps.")
(sha256
(base32 "0ma2cl677l7s0n5sffh66cy9lxp5wycm50f121g8rx85p95vkgwv"))))
(build-system cmake-build-system)
- ;; XXX: does not build with later GCC:
- ;; error: ‘numeric_limits’ was not declared in this scope
- (native-inputs (list gcc-10))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'add-missing-header
+ (lambda _
+ (substitute* "src/Bpp/Graph/GlobalGraph.cpp"
+ (("include <vector>" all)
+ (string-append all "\n#include <limits>"))))))))
(home-page "https://pbil.univ-lyon1.fr/bpp-doc/bpp-core/html/index.html")
(synopsis "C++ libraries for Bioinformatics")
(description