summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/zlib-ng/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/zlib-ng/package.py b/var/spack/repos/builtin/packages/zlib-ng/package.py
index c8d8a98add..45e7282e2f 100644
--- a/var/spack/repos/builtin/packages/zlib-ng/package.py
+++ b/var/spack/repos/builtin/packages/zlib-ng/package.py
@@ -45,7 +45,7 @@ class ZlibNg(AutotoolsPackage, CMakePackage):
build_system("autotools", "cmake", default="autotools")
# fix building with NVHPC, see https://github.com/zlib-ng/zlib-ng/pull/1698
- patch("pr-1698.patch", when="@2.1.4:%nvhpc+opt")
+ patch("pr-1698.patch", when="@2.1.4:2.1.6%nvhpc+opt")
with when("build_system=cmake"):
depends_on("cmake@3.5.1:", type="build")