summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorValentin Volkl <valentin.volkl@cern.ch>2021-08-16 09:08:04 +0200
committerGitHub <noreply@github.com>2021-08-16 09:08:04 +0200
commit77a9004c31adfdadc5913521735053eec179bb40 (patch)
tree314ca0ce1b107006ee0921b22d51aad2e9cbcfe1 /var
parente42af64e24b69b3e1ed7e4dff191e88140f51bf5 (diff)
downloadspack-77a9004c31adfdadc5913521735053eec179bb40.tar.gz
spack-77a9004c31adfdadc5913521735053eec179bb40.tar.bz2
spack-77a9004c31adfdadc5913521735053eec179bb40.tar.xz
spack-77a9004c31adfdadc5913521735053eec179bb40.zip
vtk: add patch for missing includes (#25437)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vtk/package.py5
1 files changed, 5 insertions, 0 deletions
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