diff --git a/var/spack/repos/builtin/packages/ravel/package.py b/var/spack/repos/builtin/packages/ravel/package.py index dee24dfa894..86c918a3674 100644 --- a/var/spack/repos/builtin/packages/ravel/package.py +++ b/var/spack/repos/builtin/packages/ravel/package.py @@ -14,13 +14,15 @@ class Ravel(CMakePackage): url = 'https://github.com/llnl/ravel/archive/v1.0.0.tar.gz' version('1.0.0', sha256='e1e1ac6d70c9aae915623d81a8f1258488fd26f880612fe21f2e032827aa93eb') + # See https://github.com/LLNL/ravel/pull/18 + patch('qpainterpath.patch') depends_on('cmake@2.8.9:', type='build') depends_on('muster@1.0.1:') depends_on('otf') depends_on('otf2') - depends_on('qt@5:') + depends_on('qt@5:+opengl') def cmake_args(self): return ['-Wno-dev'] diff --git a/var/spack/repos/builtin/packages/ravel/qpainterpath.patch b/var/spack/repos/builtin/packages/ravel/qpainterpath.patch new file mode 100644 index 00000000000..208ecd67f39 --- /dev/null +++ b/var/spack/repos/builtin/packages/ravel/qpainterpath.patch @@ -0,0 +1,9 @@ +--- a/src/stepvis.cpp ++++ b/src/stepvis.cpp +@@ -41,6 +41,7 @@ + #include + #include + #include ++#include + + #include "function.h" \ No newline at end of file