summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/mash/gcc-11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/mash/gcc-11.patch')
-rw-r--r--var/spack/repos/builtin/packages/mash/gcc-11.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mash/gcc-11.patch b/var/spack/repos/builtin/packages/mash/gcc-11.patch
new file mode 100644
index 0000000000..1220c9cc3c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mash/gcc-11.patch
@@ -0,0 +1,14 @@
+# patch method from debian repo
+# https://salsa.debian.org/med-team/mash/-/blob/master/debian/patches/gcc-11.patch
+diff -Naur spack-src/src/mash/robin_hood.h spack-src.patched/src/mash/robin_hood.h
+--- spack-src/src/mash/robin_hood.h 2021-02-26 17:13:33.000000000 -0600
++++ spack-src.patched/src/mash/robin_hood.h 2023-01-27 09:37:40.418855844 -0600
+@@ -45,6 +45,7 @@
+ #include <memory> // only to support hash of smart pointers
+ #include <stdexcept>
+ #include <string>
++#include <limits>
+ #include <type_traits>
+ #include <utility>
+ #if __cplusplus >= 201703L
+