From acfb2b9270de4e663ad2dde27d6cc7a3f6e9e817 Mon Sep 17 00:00:00 2001 From: James Shen <46590537+JamesJieranShen@users.noreply.github.com> Date: Fri, 12 Apr 2024 18:52:22 -0400 Subject: Geant4: extend patch to fix compile for 10.0-10.4 as well (#43640) --- var/spack/repos/builtin/packages/geant4/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/geant4/package.py b/var/spack/repos/builtin/packages/geant4/package.py index 2acab80fa2..9a399e0900 100644 --- a/var/spack/repos/builtin/packages/geant4/package.py +++ b/var/spack/repos/builtin/packages/geant4/package.py @@ -162,7 +162,7 @@ class Geant4(CMakePackage): patch("CLHEP-10.03.03.patch", level=1, when="@10.3") # Build failure on clang 15, ubuntu 22: see Geant4 problem report #2444 # fixed by ascii-V10-07-03 - patch("geant4-10.6.patch", level=1, when="@10.5:10.6") + patch("geant4-10.6.patch", level=1, when="@10.0:10.6") # These patches can be applied independent of the cxxstd value? patch("cxx17.patch", when="@10.3 cxxstd=17") patch("cxx17_geant4_10_0.patch", level=1, when="@10.4.0 cxxstd=17") -- cgit v1.2.3-70-g09d2