]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[bos #32505] [CEA] Additional patches for Fedora 36. SPNS-29988-SHAPER-V9_9_0.patch
authorjfa <jfa@opencascade.com>
Wed, 12 Oct 2022 07:03:06 +0000 (10:03 +0300)
committerjfa <jfa@opencascade.com>
Wed, 12 Oct 2022 07:03:06 +0000 (10:03 +0300)
src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp
src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp
src/ModelHighAPI/ModelHighAPI_Tools.cpp

index 9f3f9f003f0f2ddbe48f2fcbca12b78d8b54a782..3d0fe58e66adceba46271b28cd602e3ebbf08b90 100644 (file)
@@ -49,6 +49,7 @@
 
 #include <iomanip>
 #include <sstream>
+#include <array>
 
 FeaturesPlugin_Measurement::FeaturesPlugin_Measurement() : mySceenScale(1)
 {
index f95671f3e3d86de02f51c216e47705aa305abecc..d6baade6e733544a5ae4135770cd4e1669930085 100644 (file)
 #include <NCollection_Vector.hxx>
 
 #include <LocalAnalysis_SurfaceContinuity.hxx>
+#include<array>
 
 //==================================================================================================
 static GProp_GProps props(const TopoDS_Shape& theShape)
index 65f536b389b750dd27ecfaffea7c63a0b4929e65..87f24f8151eb31769cbda52b5e5ef4724e71d715 100644 (file)
@@ -559,7 +559,7 @@ static bool checkDump(SessionPtr theSession,
   // execute the dumped
   PyGILState_STATE gstate = PyGILState_Ensure(); /* acquire python thread */
   static char aReadMode[] = "r";
-  FILE* PyFileObject = _Py_fopen(theFilename, aReadMode);
+  FILE* PyFileObject = fopen(theFilename, aReadMode);
   PyRun_SimpleFileEx(PyFileObject, theFilename, 1);
   PyGILState_Release(gstate); /* release python thread */