From 7eddc4b1f8ac6d0c0e1476b5c5200f762969ca83 Mon Sep 17 00:00:00 2001 From: George Young Date: Thu, 6 Feb 2025 12:37:42 +0000 Subject: [PATCH] mummer4: patching to allow building with %gcc@13: (#38292) Co-authored-by: LMS Bioinformatics Co-authored-by: Massimiliano Culpo --- .../repos/builtin/packages/mummer4/48bit_index.patch | 10 ++++++++++ var/spack/repos/builtin/packages/mummer4/package.py | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 var/spack/repos/builtin/packages/mummer4/48bit_index.patch diff --git a/var/spack/repos/builtin/packages/mummer4/48bit_index.patch b/var/spack/repos/builtin/packages/mummer4/48bit_index.patch new file mode 100644 index 00000000000..98ec46911a8 --- /dev/null +++ b/var/spack/repos/builtin/packages/mummer4/48bit_index.patch @@ -0,0 +1,10 @@ +--- include/mummer/48bit_index.hpp 2020-10-01 01:47:50.000000000 +0100 ++++ include/mummer/48bit_index.hpp.patched 2023-06-09 12:07:09.949856479 +0100 +@@ -6,6 +6,7 @@ + #endif + ++#include + #include "48bit_iterator.hpp" + + template + struct fortyeight_index { diff --git a/var/spack/repos/builtin/packages/mummer4/package.py b/var/spack/repos/builtin/packages/mummer4/package.py index a818047ffd4..8ff49847458 100644 --- a/var/spack/repos/builtin/packages/mummer4/package.py +++ b/var/spack/repos/builtin/packages/mummer4/package.py @@ -25,3 +25,6 @@ class Mummer4(AutotoolsPackage): depends_on("perl@5.6.0:", type=("build", "run")) depends_on("awk", type="run") depends_on("sed", type="run") + + # Adds missing inclusion of + patch("48bit_index.patch", level=0, when="%gcc@13:")