From 349867c879437d3a72f0f749e04c1a1fa66fe9b7 Mon Sep 17 00:00:00 2001 From: Tal Ben-Nun Date: Wed, 17 Jan 2024 15:12:19 -0800 Subject: [PATCH] Limit patching Catch2 to the newer `@3:` version range (#42019) --- var/spack/repos/builtin/packages/catch2/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/var/spack/repos/builtin/packages/catch2/package.py b/var/spack/repos/builtin/packages/catch2/package.py index 148b5c3ffc..604dd39565 100644 --- a/var/spack/repos/builtin/packages/catch2/package.py +++ b/var/spack/repos/builtin/packages/catch2/package.py @@ -122,6 +122,7 @@ class Catch2(CMakePackage): ) variant("shared", when="@3:", default=False, description="Build shared library") + @when("@3:") def patch(self): filter_file( r"#include \