1 |
commit: 27516179bd0c405eaea4c5d3c6df21414f183c5f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 1 23:37:15 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 2 00:03:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27516179 |
7 |
|
8 |
sci-visualization/paraview: Fix build with Qt 5.15 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/729348 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../files/paraview-5.8.0-w-vtk-8.2.0-qt-5.15.patch | 37 ++++++++++++++++++++++ |
15 |
.../paraview/paraview-5.8.0-r3.ebuild | 1 + |
16 |
2 files changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/sci-visualization/paraview/files/paraview-5.8.0-w-vtk-8.2.0-qt-5.15.patch b/sci-visualization/paraview/files/paraview-5.8.0-w-vtk-8.2.0-qt-5.15.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..1f76b84ac2d |
21 |
--- /dev/null |
22 |
+++ b/sci-visualization/paraview/files/paraview-5.8.0-w-vtk-8.2.0-qt-5.15.patch |
23 |
@@ -0,0 +1,37 @@ |
24 |
+From 797f28697d5ba50c1fa2bc5596af626a3c277826 Mon Sep 17 00:00:00 2001 |
25 |
+From: "Andrew J. P. Maclean" <andrew.amaclean@×××××.com> |
26 |
+Date: Wed, 27 May 2020 15:27:15 +1000 |
27 |
+Subject: [PATCH] Qt 5.15 needs the include file QPainterPath |
28 |
+ |
29 |
+--- |
30 |
+ Rendering/Qt/vtkQtLabelRenderStrategy.cxx | 1 + |
31 |
+ Rendering/Qt/vtkQtStringToImage.cxx | 1 + |
32 |
+ 2 files changed, 2 insertions(+) |
33 |
+ |
34 |
+diff --git a/VTK/Rendering/Qt/vtkQtLabelRenderStrategy.cxx b/VTK/Rendering/Qt/vtkQtLabelRenderStrategy.cxx |
35 |
+index afda585cca..eca65c64cd 100644 |
36 |
+--- a/VTK/Rendering/Qt/vtkQtLabelRenderStrategy.cxx |
37 |
++++ b/VTK/Rendering/Qt/vtkQtLabelRenderStrategy.cxx |
38 |
+@@ -41,6 +41,7 @@ |
39 |
+ #include <QImage> |
40 |
+ #include <QMap> |
41 |
+ #include <QPainter> |
42 |
++#include <QPainterPath> |
43 |
+ #include <QPair> |
44 |
+ #include <QPixmap> |
45 |
+ #include <QTextDocument> |
46 |
+diff --git a/VTK/Rendering/Qt/vtkQtStringToImage.cxx b/VTK/Rendering/Qt/vtkQtStringToImage.cxx |
47 |
+index 659c71570e..fbb9b78f05 100644 |
48 |
+--- a/VTK/Rendering/Qt/vtkQtStringToImage.cxx |
49 |
++++ b/VTK/Rendering/Qt/vtkQtStringToImage.cxx |
50 |
+@@ -30,6 +30,7 @@ |
51 |
+ #include <QFontMetrics> |
52 |
+ #include <QImage> |
53 |
+ #include <QPainter> |
54 |
++#include <QPainterPath> |
55 |
+ #include <QPixmap> |
56 |
+ #include <QString> |
57 |
+ #include <QTextDocument> |
58 |
+-- |
59 |
+2.26.2 |
60 |
+ |
61 |
|
62 |
diff --git a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild |
63 |
index fad68f534bd..ed78dca4764 100644 |
64 |
--- a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild |
65 |
+++ b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild |
66 |
@@ -105,6 +105,7 @@ PATCHES=( |
67 |
"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch |
68 |
"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch |
69 |
"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch |
70 |
+ "${FILESDIR}"/${P}-w-vtk-8.2.0-qt-5.15.patch |
71 |
) |
72 |
|
73 |
CMAKE_MAKEFILE_GENERATOR="emake" #579474 |