1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Efraim Flashner
2026-03-23 11:45:44 +02:00
parent c7d24e6fbe
commit 2c52ce2a5f

View File

@@ -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