From a5473b802b04a4dc580a4262e4dc37a173776ada Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 3 May 2021 12:50:49 +0200 Subject: [PATCH] bos #24228 : temporary fix until integrated --- products/SMESH.pyconf | 1 + products/patches/BOS-24228.patch | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 products/patches/BOS-24228.patch 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 = -- 2.39.2