gnu: sortmerna: Fix build with gcc-14.

* gnu/packages/bioinformatics.scm (sortmerna)[arguments]<#:phases>
{fix-includes}: New phase.

Change-Id: I5c2f6e6456e59ea39f02dd584c6d052c08ff9463
This commit is contained in:
Andreas Enge 2025-08-05 15:55:47 +02:00
parent 6f40f2b8fb
commit 33bece49a4
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -12359,6 +12359,11 @@ of these reads to align data quickly through a hash-based indexing scheme.")
"/include"))
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'fix-includes
(lambda _
(substitute* "src/sortmerna/kseq_load.cpp"
(("#include <iostream>" all)
(string-append all "\n#include <cstdint>")))))
(add-after 'unpack 'find-concurrentqueue-headers
(lambda* (#:key inputs #:allow-other-keys)
;; Ensure that headers can be found