guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 33bece49a4706b78d4ba7a4714a6fa68f9331ae4
Author: Andreas Enge <[email protected]>
AuthorDate: Tue Aug 5 15:55:47 2025 +0200

    gnu: sortmerna: Fix build with gcc-14.
    
    * gnu/packages/bioinformatics.scm (sortmerna)[arguments]<#:phases>
    {fix-includes}: New phase.
    
    Change-Id: I5c2f6e6456e59ea39f02dd584c6d052c08ff9463
---
 gnu/packages/bioinformatics.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4ca7998cc7..ff3a0bbf9b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -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

Reply via email to