From fa89ca2eb0b35eb63a674951423e2d02228bb831 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Thu, 17 Jun 2021 17:13:33 -0400 Subject: [PATCH] vtk: Limit freetype versions (#24389) freetype 2.0.3 introduces an incompatible change Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> --- var/spack/repos/builtin/packages/vtk/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py index b43f42a4ca..d0d75346db 100644 --- a/var/spack/repos/builtin/packages/vtk/package.py +++ b/var/spack/repos/builtin/packages/vtk/package.py @@ -89,6 +89,9 @@ class Vtk(CMakePackage): depends_on('mpi', when='+mpi') depends_on('expat') + # See for why vtk doesn't + # work yet with freetype 2.10.3 (including possible patches) + depends_on('freetype @:2.10.2') depends_on('freetype') depends_on('glew') # set hl variant explicitly, similar to issue #7145