commit:     c3dc785bbc6000bc1ad0c48a10f3877404e046da
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 13 16:32:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 13 17:13:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3dc785b

sci-visualization/paraview: fix build for GCC 11

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

 .../files/paraview-5.9.0-gcc11-include.patch        | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

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 b9fad8c094f..d5850073fb9 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,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);
+ 

Reply via email to