From 3fd3676fc0d4188044d340d16d7588e6c267746a Mon Sep 17 00:00:00 2001 From: Sajid Ali <30510036+s-sajid-ali@users.noreply.github.com> Date: Mon, 19 Oct 2020 19:49:31 -0500 Subject: [PATCH] gdbm patch (#19380) * gdbm patching * compiler name fix * rename patch --- .../builtin/packages/gdbm/{gdbm_gcc_10.patch => gdbm.patch} | 0 var/spack/repos/builtin/packages/gdbm/package.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename var/spack/repos/builtin/packages/gdbm/{gdbm_gcc_10.patch => gdbm.patch} (100%) 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):