From 77a9004c31adfdadc5913521735053eec179bb40 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Mon, 16 Aug 2021 09:08:04 +0200 Subject: vtk: add patch for missing includes (#25437) --- var/spack/repos/builtin/packages/vtk/package.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py index 6f94e10d12..b531e31e39 100644 --- a/var/spack/repos/builtin/packages/vtk/package.py +++ b/var/spack/repos/builtin/packages/vtk/package.py @@ -43,6 +43,11 @@ class Vtk(CMakePackage): variant('mpi', default=True, description='Enable MPI support') patch('gcc.patch', when='@6.1.0') + # patch to fix some missing stl includes + # which lead to build errors on newer compilers + # version range to be updated once the linked patch is released + patch('https://gitlab.kitware.com/vtk/vtk/-/commit/e066c3f4fbbfe7470c6207db0fc3f3952db633c.diff', + when="@9:", sha256='0546696bd02f3a99fccb9b7c49533377bf8179df16d901cefe5abf251173716d') # At the moment, we cannot build with both osmesa and qt, but as of # VTK 8.1, that should change -- cgit v1.2.3-70-g09d2