diff options
author | Sam James <sam@gentoo.org> | 2021-06-13 16:32:01 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-13 17:13:52 +0000 |
commit | c3dc785bbc6000bc1ad0c48a10f3877404e046da (patch) | |
tree | fa94c28fd33fc560b23d8dbf78a654f0b1d93900 /sci-visualization/paraview | |
parent | games-arcade/briquolo: various compile fixes (GCC 11, Clang) (diff) | |
download | gentoo-c3dc785bbc6000bc1ad0c48a10f3877404e046da.tar.gz gentoo-c3dc785bbc6000bc1ad0c48a10f3877404e046da.tar.bz2 gentoo-c3dc785bbc6000bc1ad0c48a10f3877404e046da.zip |
sci-visualization/paraview: fix build for GCC 11
Closes: https://bugs.gentoo.org/789573
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.patch | 21 |
1 files changed, 21 insertions, 0 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 b9fad8c094fe..d5850073fb94 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); + |