vtk/vtk-limits.patch
Orion Poplawski a6fa95ab4c Update to 9.0.1
Disable OSMesa - conflicts with X support
Build against Fedora gl2ps, libharu, utf8cpp
Drop python3-vtk-qt packages
No longer ship compiled examples
Install jar file into /usr/share/java
Fix JNI install location
Drop Qt4 build option
Drop gcc10 patch
2021-01-30 08:18:17 -07:00

61 lines
1.9 KiB
Diff

diff --git a/Common/Core/vtkGenericDataArrayLookupHelper.h b/Common/Core/vtkGenericDataArrayLookupHelper.h
index ab9d57248f..202aaa27f4 100644
--- a/Common/Core/vtkGenericDataArrayLookupHelper.h
+++ b/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/Common/DataModel/Testing/Cxx/UnitTestLine.cxx b/Common/DataModel/Testing/Cxx/UnitTestLine.cxx
index 7b45f41202..223f4db7ef 100644
--- a/Common/DataModel/Testing/Cxx/UnitTestLine.cxx
+++ b/Common/DataModel/Testing/Cxx/UnitTestLine.cxx
@@ -14,6 +14,7 @@
=========================================================================*/
#include <cmath>
+#include <limits>
#include "vtkLine.h"
#include "vtkMath.h"
diff --git a/Common/DataModel/vtkPiecewiseFunction.cxx b/Common/DataModel/vtkPiecewiseFunction.cxx
index 22eca0bc22..11086f1dc4 100644
--- a/Common/DataModel/vtkPiecewiseFunction.cxx
+++ b/Common/DataModel/vtkPiecewiseFunction.cxx
@@ -22,6 +22,7 @@
#include <cassert>
#include <cmath>
#include <iterator>
+#include <limits>
#include <set>
#include <vector>
diff --git a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
index a16bb27fc6..1052192c61 100644
--- a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
+++ b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
@@ -27,6 +27,7 @@
#include "vtkHyperTreeGridNonOrientedCursor.h"
#include <cmath>
+#include <limits>
vtkStandardNewMacro(vtkHyperTreeGridThreshold);
diff --git a/Rendering/Core/vtkColorTransferFunction.cxx b/Rendering/Core/vtkColorTransferFunction.cxx
index 55c046b4df..1be02919ab 100644
--- a/Rendering/Core/vtkColorTransferFunction.cxx
+++ b/Rendering/Core/vtkColorTransferFunction.cxx
@@ -21,6 +21,7 @@
#include <algorithm>
#include <cmath>
#include <iterator>
+#include <limits>
#include <set>
#include <vector>