sci-visualization/paraview: fix build for GCC 11

Closes: https://bugs.gentoo.org/789573
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-06-13 16:32:01 +00:00
parent 50861304fe
commit c3dc785bbc

View File

@@ -1,3 +1,4 @@
https://bugs.gentoo.org/789573
--- a/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h
+++ b/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h
@@ -25,6 +25,7 @@
@@ -18,3 +19,23 @@
#include <set>
#include <vector>
--- a/VTK/Rendering/Core/vtkColorTransferFunction.cxx
+++ b/VTK/Rendering/Core/vtkColorTransferFunction.cxx
@@ -21,6 +21,7 @@
#include <algorithm>
#include <cmath>
#include <iterator>
+#include <limits>
#include <set>
#include <vector>
--- a/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
+++ b/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
@@ -27,6 +27,7 @@
#include "vtkHyperTreeGridNonOrientedCursor.h"
#include <cmath>
+#include <limits>
vtkStandardNewMacro(vtkHyperTreeGridThreshold);