commit:     a07aceead4fc27f70a17168ac226d75596997a84
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 11 21:56:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 11 22:04:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a07aceea

sci-visualization/paraview: fix gcc 11 build (again)

Closes: https://bugs.gentoo.org/789534
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../paraview/files/paraview-5.9.0-gcc11-include.patch        | 12 ++++++++++--
 1 file 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 900439a7ce6..b9fad8c094f 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>
+ 

Reply via email to