summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-11 21:56:50 +0000
committerSam James <sam@gentoo.org>2021-05-11 22:04:20 +0000
commita07aceead4fc27f70a17168ac226d75596997a84 (patch)
tree481358bee2e7f742f369acef5d85e9b82da8136a /sci-visualization/paraview
parentapp-text/pandoc: add 'text' depend to 'trypandoc' (diff)
downloadgentoo-a07aceead4fc27f70a17168ac226d75596997a84.tar.gz
gentoo-a07aceead4fc27f70a17168ac226d75596997a84.tar.bz2
gentoo-a07aceead4fc27f70a17168ac226d75596997a84.zip
sci-visualization/paraview: fix gcc 11 build (again)
Closes: https://bugs.gentoo.org/789534 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-visualization/paraview')
-rw-r--r--sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch12
1 files changed, 10 insertions, 2 deletions
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
index 900439a7ce62..b9fad8c094fe 100644
--- a/sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch
+++ b/sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch
@@ -1,5 +1,3 @@
-diff --git a/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h b/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h
-index ab9d5724..202aaa27 100644
--- a/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h
+++ b/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h
@@ -25,6 +25,7 @@
@@ -10,3 +8,13 @@ index ab9d5724..202aaa27 100644
#include <unordered_map>
#include <vector>
+--- a/VTK/Common/DataModel/vtkPiecewiseFunction.cxx
++++ b/VTK/Common/DataModel/vtkPiecewiseFunction.cxx
+@@ -22,6 +22,7 @@
+ #include <cassert>
+ #include <cmath>
+ #include <iterator>
++#include <limits>
+ #include <set>
+ #include <vector>
+