vtk: Restrict application of patch xdmf2-hdf51.13.2.patch (#40266)

The changes in patch xdmf2-hdf51.13.2.patch have effectively
been added to vtk@9.2.3 (commit e81a2fe)

So restrict application of patch fo @9:9.2
This commit is contained in:
Tom Payerle 2023-11-28 11:27:58 -05:00 committed by GitHub
parent 0e65e84768
commit ef8e6a969c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,8 @@ class Vtk(CMakePackage):
# Patch for paraview 5.10: +hdf5 ^hdf5@1.13.2:
# https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9690
patch("xdmf2-hdf51.13.2.patch", when="@9:9.2 +xdmf")
# patch seems to effectively been added to vtk@9.2.3 (e81a2fe)
patch("xdmf2-hdf51.13.2.patch", when="@9:9.2.2 +xdmf")
# We cannot build with both osmesa and qt in spack
conflicts("+osmesa", when="+qt")