~ruther/guix-local

f4bf35a92b41501722a1cc137c90ddef1dbb37a6 — Hartmut Goebel 2 months ago c5728c3
gnu: libmaus2: Update to 2.0.813.

* gnu/packages/bioinformatics.scm (libmaus2): Update to 2.0.813.
  [source]: Add patch. [inputs]: Add boost.
* gnu/packages/patches/libmauss-fix-gcc-13-require-include-cstdint.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register new patch file.

Change-Id: I607773a7c7b7a43c0bd037bc8b99666c89e9c429
M gnu/local.mk => gnu/local.mk +1 -0
@@ 1697,6 1697,7 @@ dist_patch_DATA =						\
  %D%/packages/patches/libinfinity-renew-test-certificate.patch \
  %D%/packages/patches/libjami-pkgconf.patch                    \
  %D%/packages/patches/libjami-simdutf.patch                    \
  %D%/packages/patches/libmaus2-fix-gcc-13-require-include-cstdint.patch	\
  %D%/packages/patches/libretro-dolphin-emu-data.patch		\
  %D%/packages/patches/libretro-dolphin-emu-gc-font-tool.patch  \
  %D%/packages/patches/libretro-dolphin-emu-libusb-assert.patch \

M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +7 -3
@@ 30,6 30,7 @@
;;; Copyright © 2025 nomike Postmann <nomike@nomike.com>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2026 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 18745,19 18746,22 @@ contigs alone.")
(define-public libmaus2
  (package
    (name "libmaus2")
    (version "2.0.786")
    (version "2.0.813")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://gitlab.com/german.tischler/libmaus2")
                    (commit (string-append version "-release-20210531143054"))))
                    (commit (string-append version "-release-20221210220409"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rxakmwjcx2yq5sjh3v849f7dfw4xzc2fyzf6s28s3p95z84w564"))))
                "1hbkp3vjykkn8vkplzxyc6vnm69rzqhnj041jgfk61wvn5r1xzw8"))
              (patches
               (search-patches "libmaus2-fix-gcc-13-require-include-cstdint.patch"))))
    (build-system gnu-build-system)
    ;; The test suite attempts to execute ../test-driver, which does not exist.
    (arguments '(#:tests? #false))
    (inputs (list boost))
    (propagated-inputs
     (list zlib))
    (native-inputs

A gnu/packages/patches/libmaus2-fix-gcc-13-require-include-cstdint.patch => gnu/packages/patches/libmaus2-fix-gcc-13-require-include-cstdint.patch +24 -0
@@ 0,0 1,24 @@
From 3c272a9dc85c74de983d5b0b1ebca593aeb86a75 Mon Sep 17 00:00:00 2001
From: Kuoi <starsareintherose@outlook.com>
Date: Sat, 8 Feb 2025 05:23:32 +0000
Subject: [PATCH] fix: gcc 13 require #include <cstdint>

---
 src/libmaus2/util/MemUsage.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libmaus2/util/MemUsage.hpp b/src/libmaus2/util/MemUsage.hpp
index 039a64907..8181e7285 100644
--- a/src/libmaus2/util/MemUsage.hpp
+++ b/src/libmaus2/util/MemUsage.hpp
@@ -23,6 +23,7 @@
 #include <fstream>
 #include <map>
 #include <sstream>
+#include <cstdint>
 
 namespace libmaus2
 {
-- 
GitLab