mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
* 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>
26 lines
No EOL
669 B
Diff
26 lines
No EOL
669 B
Diff
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"
|