diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2021-06-29 00:33:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 06:33:35 +0200 |
commit | a7b6149cc02713de55cb5719b9dab2dfc0476303 (patch) | |
tree | f54e721b00f254fbf98b2df2d8dedb664d8ae127 | |
parent | b87d9c29c10bab0b110f2c543105f2957f4e8099 (diff) | |
download | spack-a7b6149cc02713de55cb5719b9dab2dfc0476303.tar.gz spack-a7b6149cc02713de55cb5719b9dab2dfc0476303.tar.bz2 spack-a7b6149cc02713de55cb5719b9dab2dfc0476303.tar.xz spack-a7b6149cc02713de55cb5719b9dab2dfc0476303.zip |
libzmq: Fix gcc11 build failure (#24563)
-rw-r--r-- | var/spack/repos/builtin/packages/libzmq/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libzmq/package.py b/var/spack/repos/builtin/packages/libzmq/package.py index b69cb7610f..ccbb7d7d4d 100644 --- a/var/spack/repos/builtin/packages/libzmq/package.py +++ b/var/spack/repos/builtin/packages/libzmq/package.py @@ -46,6 +46,9 @@ class Libzmq(AutotoolsPackage): conflicts('%gcc@8:', when='@:4.2.2') + # Fix aggressive compiler warning false positive + patch('https://github.com/zeromq/libzmq/commit/92b2c38a2c51a1942a380c7ee08147f7b1ca6845.patch', sha256='8ebde83ee148989f9118d36ebaf256532627b8a6e7a486842110623331972edb', when='@4.2.3:4.3.4 %gcc@11:') + def url_for_version(self, version): if version <= Version('4.1.4'): url = "http://download.zeromq.org/zeromq-{0}.tar.gz" |