From: Nabil Ghodbane Date: Mon, 3 May 2021 10:50:49 +0000 (+0200) Subject: bos #24228 : temporary fix until integrated X-Git-Tag: V9_7_0~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a5473b802b04a4dc580a4262e4dc37a173776ada;p=tools%2Fsat_salome.git bos #24228 : temporary fix until integrated --- diff --git a/products/SMESH.pyconf b/products/SMESH.pyconf index d526be3..3d9963a 100644 --- a/products/SMESH.pyconf +++ b/products/SMESH.pyconf @@ -86,6 +86,7 @@ default_win : "tbb" ] build_depend : ["cmake", "swig", "doxygen", "cppunit", "f2c"] + patches : ['BOS-24228.patch'] } default_MPI : diff --git a/products/patches/BOS-24228.patch b/products/patches/BOS-24228.patch new file mode 100644 index 0000000..6829e2e --- /dev/null +++ b/products/patches/BOS-24228.patch @@ -0,0 +1,22 @@ +diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx +index a68966e63..3ba0ffdc6 100644 +--- a/src/SMESHGUI/SMESHGUI.cxx ++++ b/src/SMESHGUI/SMESHGUI.cxx +@@ -187,7 +187,7 @@ + // Below macro, when uncommented, switches on simplified (more performant) algorithm + // of auto-color picking up + #define SIMPLE_AUTOCOLOR +- ++#include + namespace + { + // Declarations +@@ -1226,7 +1226,7 @@ namespace + SMESH::Controls::NumericalFunctor* aNumFun = + dynamic_cast( aFunctor.get() ); + if ( aNumFun ) { +- std::vector elements; ++ std::vector elements; + SMESH::SMESH_Mesh_var mesh = SMESH::IObjectToInterface(anIO); + if ( mesh->_is_nil() ) { + SMESH::SMESH_IDSource_var idSource =