diff --git a/var/spack/repos/builtin/packages/gdbm/gdbm_gcc_10.patch b/var/spack/repos/builtin/packages/gdbm/gdbm.patch similarity index 100% rename from var/spack/repos/builtin/packages/gdbm/gdbm_gcc_10.patch rename to var/spack/repos/builtin/packages/gdbm/gdbm.patch diff --git a/var/spack/repos/builtin/packages/gdbm/package.py b/var/spack/repos/builtin/packages/gdbm/package.py index ae89387f24..c0d13b7ce0 100644 --- a/var/spack/repos/builtin/packages/gdbm/package.py +++ b/var/spack/repos/builtin/packages/gdbm/package.py @@ -26,7 +26,8 @@ class Gdbm(AutotoolsPackage, GNUMirrorPackage): version('1.9', sha256='f85324d7de3777db167581fd5d3493d2daa3e85e195a8ae9afc05b34551b6e57') depends_on("readline") - patch('gdbm_gcc_10.patch', when='%gcc@10:') + patch('gdbm.patch', when='%gcc@10:') + patch('gdbm.patch', when='%clang@11:') def configure_args(self):