diff options
author | Sam James <sam@gentoo.org> | 2021-05-11 18:26:26 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-11 18:26:42 +0000 |
commit | 2195a932afe65a512ecc627598d3a345d48ec348 (patch) | |
tree | 0487c318e65ad40acfa5597159131410f04d6c3d /sci-visualization/paraview | |
parent | media-sound/ecasound: add github remote-id (diff) | |
download | gentoo-2195a932afe65a512ecc627598d3a345d48ec348.tar.gz gentoo-2195a932afe65a512ecc627598d3a345d48ec348.tar.bz2 gentoo-2195a932afe65a512ecc627598d3a345d48ec348.zip |
sci-visualization/paraview: fix build with gcc 11
Closes: https://bugs.gentoo.org/788055
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 | 12 | ||||
-rw-r--r-- | sci-visualization/paraview/paraview-5.9.0.ebuild | 1 |
2 files changed, 13 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 new file mode 100644 index 000000000000..900439a7ce62 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch @@ -0,0 +1,12 @@ +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 @@ + #include "vtkIdList.h" + #include <algorithm> + #include <cmath> ++#include <limits> + #include <unordered_map> + #include <vector> + diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild b/sci-visualization/paraview/paraview-5.9.0.ebuild index 826f9ea31de5..f91083500a23 100644 --- a/sci-visualization/paraview/paraview-5.9.0.ebuild +++ b/sci-visualization/paraview/paraview-5.9.0.ebuild @@ -105,6 +105,7 @@ S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch "${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch + "${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch ) pkg_setup() { |