ravel: fix missing header file (#25906)

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Tim Gymnich 2021-09-13 12:49:42 +02:00 committed by GitHub
parent 6a8383b2a7
commit b745e208a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -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']

View File

@ -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"