Salome HOME
spns #32926: backport KERNEL & CONFIGURATION fixes on more recent platforms to ensure...
[tools/sat_salome.git] / products / patches / SPNS-29988-SHAPER-V9_9_0.patch
1 diff --git a/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp b/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp
2 index 9f3f9f003..3d0fe58e6 100644
3 --- a/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp
4 +++ b/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp
5 @@ -49,6 +49,7 @@
6  
7  #include <iomanip>
8  #include <sstream>
9 +#include <array>
10  
11  FeaturesPlugin_Measurement::FeaturesPlugin_Measurement() : mySceenScale(1)
12  {
13 diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp
14 index f95671f3e..6d4de8e6f 100644
15 --- a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp
16 +++ b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp
17 @@ -16,7 +16,6 @@
18  //
19  // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20  //
21 -
22  #include "GeomAlgoAPI_ShapeTools.h"
23  
24  #include "GeomAlgoAPI_SketchBuilder.h"
25 @@ -101,6 +100,7 @@
26  #include <NCollection_Vector.hxx>
27  
28  #include <LocalAnalysis_SurfaceContinuity.hxx>
29 +#include<array>
30  
31  //==================================================================================================
32  static GProp_GProps props(const TopoDS_Shape& theShape)
33 diff --git a/src/ModelHighAPI/ModelHighAPI_Tools.cpp b/src/ModelHighAPI/ModelHighAPI_Tools.cpp
34 index 65f536b38..87f24f815 100644
35 --- a/src/ModelHighAPI/ModelHighAPI_Tools.cpp
36 +++ b/src/ModelHighAPI/ModelHighAPI_Tools.cpp
37 @@ -559,7 +559,7 @@ static bool checkDump(SessionPtr theSession,
38    // execute the dumped
39    PyGILState_STATE gstate = PyGILState_Ensure(); /* acquire python thread */
40    static char aReadMode[] = "r";
41 -  FILE* PyFileObject = _Py_fopen(theFilename, aReadMode);
42 +  FILE* PyFileObject = fopen(theFilename, aReadMode);
43    PyRun_SimpleFileEx(PyFileObject, theFilename, 1);
44    PyGILState_Release(gstate); /* release python thread */
45