gcc: Fix zstd patch version range (#19490)

PR #19482 updated gcc to only apply the zstd patch until @10.2 but the
releases/gcc-10 branch actually does not contain the patch yet, that is,
gcc@10.3 will most likely have the same problem. Apply the patch for all
10.x releases instead.
This commit is contained in:
Michael Kuhn 2020-10-23 14:37:15 +02:00 committed by GitHub
parent 4d4f7393a3
commit dcf8cf317b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,7 +270,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
patch('sys_ustat-4.9.patch', when='@4.9')
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005
patch('zstd.patch', when='@10.0:10.2')
patch('zstd.patch', when='@10')
build_directory = 'spack-build'