summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/paraview')
-rw-r--r--sci-visualization/paraview/files/paraview-5.9.0-gcc11-include.patch12
-rw-r--r--sci-visualization/paraview/paraview-5.9.0.ebuild1
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() {