summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTim Gymnich <tgymnich@icloud.com>2021-09-13 12:49:42 +0200
committerGitHub <noreply@github.com>2021-09-13 04:49:42 -0600
commitb745e208a376a9cc6367a762147ff193fedb6b84 (patch)
tree6c4580461591544af65a9f7796a6bcff0680c094 /var
parent6a8383b2a7bb5f251250b4b1f1ba29c2fecb39bc (diff)
downloadspack-b745e208a376a9cc6367a762147ff193fedb6b84.tar.gz
spack-b745e208a376a9cc6367a762147ff193fedb6b84.tar.bz2
spack-b745e208a376a9cc6367a762147ff193fedb6b84.tar.xz
spack-b745e208a376a9cc6367a762147ff193fedb6b84.zip
ravel: fix missing header file (#25906)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ravel/package.py4
-rw-r--r--var/spack/repos/builtin/packages/ravel/qpainterpath.patch9
2 files changed, 12 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ravel/package.py b/var/spack/repos/builtin/packages/ravel/package.py
index dee24dfa89..86c918a367 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 0000000000..208ecd67f3
--- /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 <QLocale>
+ #include <QMouseEvent>
+ #include <QWheelEvent>
++#include <QPainterPath>
+
+ #include "function.h" \ No newline at end of file