Salome HOME
topo2vol: use CEA repository
[tools/sat_salome.git] / products / patches / paraview-5.9.0-gcc.11.0.patch
1 diff -Naur ParaView_ref ParaView_new 
2 diff -Naur ParaView_ref/VTK/Common/Core/vtkDataArrayPrivate.txx ParaView_new/VTK/Common/Core/vtkDataArrayPrivate.txx
3 --- ParaView_ref/VTK/Common/Core/vtkDataArrayPrivate.txx        2021-02-04 15:22:02.000000000 +0100
4 +++ ParaView_new/VTK/Common/Core/vtkDataArrayPrivate.txx        2021-06-22 13:11:58.767853208 +0200
5 @@ -25,6 +25,14 @@
6  #include <array>
7  #include <cassert> // for assert()
8  #include <vector>
9 +#ifdef __GNUC__
10 +#include <features.h>
11 +# ifdef __GNUC_PREREQ
12 +#  if __GNUC_PREREQ(11,0)
13 +#   include <limits>
14 +#  endif
15 +# endif
16 +#endif // __GNUC__
17  
18  namespace vtkDataArrayPrivate
19  {
20 diff -Naur ParaView_ref/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h ParaView_new/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h
21 --- ParaView_ref/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h      2021-02-04 15:22:02.000000000 +0100
22 +++ ParaView_new/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h      2021-06-22 13:12:33.343455420 +0200
23 @@ -27,6 +27,14 @@
24  #include <cmath>
25  #include <unordered_map>
26  #include <vector>
27 +#ifdef __GNUC__
28 +#include <features.h>
29 +# ifdef __GNUC_PREREQ
30 +#  if __GNUC_PREREQ(11,0)
31 +#   include <limits>
32 +#  endif
33 +# endif
34 +#endif // __GNUC__
35  
36  namespace detail
37  {
38 diff -Naur ParaView_ref/VTK/Common/DataModel/vtkPiecewiseFunction.cxx ParaView_new/VTK/Common/DataModel/vtkPiecewiseFunction.cxx
39 --- ParaView_ref/VTK/Common/DataModel/vtkPiecewiseFunction.cxx  2021-02-04 15:22:03.000000000 +0100
40 +++ ParaView_new/VTK/Common/DataModel/vtkPiecewiseFunction.cxx  2021-06-22 16:03:40.045670686 +0200
41 @@ -24,7 +24,14 @@
42  #include <iterator>
43  #include <set>
44  #include <vector>
45 -
46 +#ifdef __GNUC__
47 +#include <features.h>
48 +# ifdef __GNUC_PREREQ
49 +#  if __GNUC_PREREQ(11,0)
50 +#   include <limits>
51 +#  endif
52 +# endif
53 +#endif // __GNUC__
54  vtkStandardNewMacro(vtkPiecewiseFunction);
55  
56  // The Node structure
57 diff -Naur ParaView_ref/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx ParaView_new/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
58 --- ParaView_ref/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx    2021-02-04 15:22:03.000000000 +0100
59 +++ ParaView_new/VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx    2021-06-22 16:36:07.933839424 +0200
60 @@ -27,6 +27,14 @@
61  #include "vtkHyperTreeGridNonOrientedCursor.h"
62  
63  #include <cmath>
64 +#ifdef __GNUC__
65 +#include <features.h>
66 +# ifdef __GNUC_PREREQ
67 +#  if __GNUC_PREREQ(11,0)
68 +#   include <limits>
69 +#  endif
70 +# endif
71 +#endif // __GNUC__
72  
73  vtkStandardNewMacro(vtkHyperTreeGridThreshold);
74  
75 diff -Naur ParaView_ref/VTK/Rendering/Core/vtkColorTransferFunction.cxx ParaView_new/VTK/Rendering/Core/vtkColorTransferFunction.cxx
76 --- ParaView_ref/VTK/Rendering/Core/vtkColorTransferFunction.cxx        2021-02-04 15:22:03.000000000 +0100
77 +++ ParaView_new/VTK/Rendering/Core/vtkColorTransferFunction.cxx        2021-06-23 11:25:49.494921639 +0200
78 @@ -23,7 +23,15 @@
79  #include <iterator>
80  #include <set>
81  #include <vector>
82 -
83 +#include <cmath>
84 +#ifdef __GNUC__
85 +#include <features.h>
86 +# ifdef __GNUC_PREREQ
87 +#  if __GNUC_PREREQ(11,0)
88 +#   include <limits>
89 +#  endif
90 +# endif
91 +#endif // __GNUC__
92  vtkStandardNewMacro(vtkColorTransferFunction);
93  
94  #define MY_MAX(x, y) ((x) > (y) ? (x) : (y))