diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py index 7d25196db8eeea..82c09a7f16cd1b 100644 --- a/var/spack/repos/builtin/packages/vtk/package.py +++ b/var/spack/repos/builtin/packages/vtk/package.py @@ -120,9 +120,9 @@ class Vtk(CMakePackage): depends_on("gl@1.2:", when="~opengl2") depends_on("xz") - patch("vtk_find_liblzma.patch", when="@:9.0") - patch("vtk_movie_link_ogg.patch") - patch("vtk_use_sqlite_name_vtk_expects.patch") + patch("vtk_find_liblzma.patch", when="@8.2") + patch("vtk_movie_link_ogg.patch", when="@8.2") + patch("vtk_use_sqlite_name_vtk_expects.patch", when="@8.2") with when("~osmesa"): depends_on("glx", when="platform=linux") depends_on("glx", when="platform=cray")