diff options
| author | Trevor Arjeski <tmarjeski@gmail.com> | 2025-09-23 12:26:36 +0300 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-09-25 21:39:21 +0200 |
| commit | 052fab5f0ba3d1b714783fdee36517d28c9c9f49 (patch) | |
| tree | 6be7606e29e0b411929f065c187d9c035d72636e /gnu/packages/patches/mash-add-missing-headers.patch | |
| parent | 8c7d8cbd2f6d012ba1e5991f905406a1a929bf26 (diff) | |
gnu: mash: Update to 2.3 and fix build with gcc-14.
* gnu/packages/bioinformatics.scm (mash): Update to 2.3.
[arguments]<#:phases>{fix-includes}: Add file to substitutions.
* gnu/packages/patches/mash-add-missing-headers.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register new file.
Fixes: guix/guix#2986
Change-Id: I6a37a6b65b0abe9b72663bcafbc034dac0cff0c0
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/patches/mash-add-missing-headers.patch')
| -rw-r--r-- | gnu/packages/patches/mash-add-missing-headers.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/patches/mash-add-missing-headers.patch b/gnu/packages/patches/mash-add-missing-headers.patch new file mode 100644 index 00000000000..d4eca2a5b44 --- /dev/null +++ b/gnu/packages/patches/mash-add-missing-headers.patch @@ -0,0 +1,26 @@ +https://patch-diff.githubusercontent.com/raw/marbl/Mash/pull/181.diff + +Add missing includes to support newer compilers. +--- +diff --git a/src/mash/robin_hood.h b/src/mash/robin_hood.h +index 573607f..9141848 100644 +--- a/src/mash/robin_hood.h ++++ b/src/mash/robin_hood.h +@@ -42,6 +42,7 @@ + #include <cstdlib> + #include <cstring> + #include <functional> ++#include <limits> + #include <memory> // only to support hash of smart pointers + #include <stdexcept> + #include <string> +--- a/src/mash/Command.cpp ++++ b/src/mash/Command.cpp +@@ -8,6 +8,7 @@ + #include <sys/ioctl.h> + #include <sstream> + #include <fstream> ++#include <cstdint> + + #include "Command.h" + #include "version.h"
\ No newline at end of file |
