From 12e1768fdb25b4e4b4deda90d208fcedaa2f31ab Mon Sep 17 00:00:00 2001 From: George Young Date: Tue, 12 Sep 2023 09:03:02 +0100 Subject: filtlong: add v0.2.1, patch for %gcc@13: (#39775) Co-authored-by: LMS Bioinformatics --- var/spack/repos/builtin/packages/filtlong/gcc13.patch | 10 ++++++++++ var/spack/repos/builtin/packages/filtlong/package.py | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 var/spack/repos/builtin/packages/filtlong/gcc13.patch diff --git a/var/spack/repos/builtin/packages/filtlong/gcc13.patch b/var/spack/repos/builtin/packages/filtlong/gcc13.patch new file mode 100644 index 0000000000..6ff541ab88 --- /dev/null +++ b/var/spack/repos/builtin/packages/filtlong/gcc13.patch @@ -0,0 +1,10 @@ +--- src/kmers.h 2018-01-04 03:52:20.000000000 +0000 ++++ src/kmers.h.patched 2023-09-04 13:19:09.206573971 +0100 +@@ -17,6 +17,7 @@ + #define KMERS_H + + ++#include + #include + #include + #include diff --git a/var/spack/repos/builtin/packages/filtlong/package.py b/var/spack/repos/builtin/packages/filtlong/package.py index 4b0acffe88..fa32ca6633 100644 --- a/var/spack/repos/builtin/packages/filtlong/package.py +++ b/var/spack/repos/builtin/packages/filtlong/package.py @@ -13,11 +13,15 @@ class Filtlong(MakefilePackage): homepage = "https://github.com/rrwick/Filtlong" url = "https://github.com/rrwick/Filtlong/archive/v0.2.0.tar.gz" + version("0.2.1", sha256="e6f47675e87f98cf2481a60bef5cad38396f1e4db653a5c1673139f37770273a") version("0.2.0", sha256="a4afb925d7ced8d083be12ca58911bb16d5348754e7c2f6431127138338ee02a") version("0.1.1", sha256="ddae7a5850efeb64424965a443540b1ced34286fbefad9230ab71f4af314081b") depends_on("zlib-api") + # %gcc@13: requires std libraries be manually added - add an include for `cstdint` + patch("gcc13.patch", level=0, when="%gcc@13:") + def install(self, spec, prefix): mkdir(prefix.bin) install_tree("bin", prefix.bin) -- cgit v1.2.3-70-g09d2