1 |
commit: c3dc785bbc6000bc1ad0c48a10f3877404e046da |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 13 16:32:01 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 13 17:13:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3dc785b |
7 |
|
8 |
sci-visualization/paraview: fix build for GCC 11 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/789573 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../files/paraview-5.9.0-gcc11-include.patch | 21 +++++++++++++++++++++ |
14 |
1 file changed, 21 insertions(+) |
15 |
|
16 |
diff --git a/sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch b/sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch |
17 |
index b9fad8c094f..d5850073fb9 100644 |
18 |
--- a/sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch |
19 |
+++ b/sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch |
20 |
@@ -1,3 +1,4 @@ |
21 |
+https://bugs.gentoo.org/789573 |
22 |
--- a/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h |
23 |
+++ b/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h |
24 |
@@ -25,6 +25,7 @@ |
25 |
@@ -18,3 +19,23 @@ |
26 |
#include <set> |
27 |
#include <vector> |
28 |
|
29 |
+--- a/VTK/Rendering/Core/vtkColorTransferFunction.cxx |
30 |
++++ b/VTK/Rendering/Core/vtkColorTransferFunction.cxx |
31 |
+@@ -21,6 +21,7 @@ |
32 |
+ #include <algorithm> |
33 |
+ #include <cmath> |
34 |
+ #include <iterator> |
35 |
++#include <limits> |
36 |
+ #include <set> |
37 |
+ #include <vector> |
38 |
+ |
39 |
+--- a/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx |
40 |
++++ b/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx |
41 |
+@@ -27,6 +27,7 @@ |
42 |
+ #include "vtkHyperTreeGridNonOrientedCursor.h" |
43 |
+ |
44 |
+ #include <cmath> |
45 |
++#include <limits> |
46 |
+ |
47 |
+ vtkStandardNewMacro(vtkHyperTreeGridThreshold); |
48 |
+ |