gnu: velvet: Adjust for GCC@14 and documentation building.

* gnu/packages/bioinformatics.scm (velvet)
[arguments]:<make-flags>: Add incompatible-pointer-types.
<phases>: Allow TeXlive to create font.
[native-inputs]: Add texlive-ec.

Fixes: guix/guix#5471
Change-Id: I0d44b763a77a64c900f09efdea30d8a89d3b2496
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Simon Tournier 2026-01-08 16:36:16 +01:00 committed by Andreas Enge
parent 132d4690b9
commit 108182dbb5
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -21143,7 +21143,8 @@ to an artifact/contaminant file.")
(build-system gnu-build-system)
(arguments
(list
#:make-flags #~(list "OPENMP=t")
#:make-flags #~(list "OPENMP=t"
"CFLAGS=-Wall -Wno-error=incompatible-pointer-types")
#:test-target "test"
#:phases
#~(modify-phases %standard-phases
@ -21152,6 +21153,11 @@ to an artifact/contaminant file.")
(lambda _
(substitute* "src/binarySequences.c"
(("../third-party/zlib-1.2.3/zlib.h") "zlib.h"))))
(add-before 'build 'set-home-env
(lambda _
;; TeXLive requires HOME to be set.
;; Permission denied: '/homeless-shelter'
(setenv "HOME" "/tmp")))
(replace 'install
(lambda _
(let ((bin (string-append #$output "/bin"))
@ -21166,7 +21172,8 @@ to an artifact/contaminant file.")
(list openmpi zlib))
(native-inputs
(list (texlive-local-tree
(list texlive-infwarerr
(list texlive-ec
texlive-infwarerr
texlive-kvoptions
texlive-pdftexcmds))))
(home-page "https://www.ebi.ac.uk/~zerbino/velvet/")