diff options
author | Olivier Cessenat <cessenat@gmail.com> | 2021-03-20 15:51:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-20 14:51:03 +0000 |
commit | 86fad971659793967c88b9ea2d28b86fbad519ca (patch) | |
tree | 4b860c91cc69c2bffb1693ad8ad1968028c4e070 | |
parent | ac15e3ec9696ed714e663a3d93f4e776346120db (diff) | |
download | spack-86fad971659793967c88b9ea2d28b86fbad519ca.tar.gz spack-86fad971659793967c88b9ea2d28b86fbad519ca.tar.bz2 spack-86fad971659793967c88b9ea2d28b86fbad519ca.tar.xz spack-86fad971659793967c88b9ea2d28b86fbad519ca.zip |
minizip: reduce scope of applied patch (#21909)
-rw-r--r-- | var/spack/repos/builtin/packages/minizip/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/minizip/package.py b/var/spack/repos/builtin/packages/minizip/package.py index 85c9fab4b7..2871582295 100644 --- a/var/spack/repos/builtin/packages/minizip/package.py +++ b/var/spack/repos/builtin/packages/minizip/package.py @@ -24,10 +24,11 @@ class Minizip(AutotoolsPackage): # error: implicit declaration of function 'mkdir' is invalid in C99 patch('implicit.patch', when='%apple-clang@12:') + patch('implicit.patch', when='%gcc@7.3.0:') # statically link to libz.a # https://github.com/Homebrew/homebrew-core/blob/master/Formula/minizip.rb - patch('static.patch') + patch('static.patch', when='%apple-clang@12:') # build minizip and miniunz @run_before('autoreconf') |