mummer4: patching to allow building with %gcc@13: (#38292)

Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
George Young 2025-02-06 12:37:42 +00:00 committed by GitHub
parent 3c7392bbcc
commit 7eddc4b1f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -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 <cstdint>
#include "48bit_iterator.hpp"
template<typename IDX>
struct fortyeight_index {

View File

@ -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 <cstdint>
patch("48bit_index.patch", level=0, when="%gcc@13:")