version_5_11_0_win_dbg :
{
- compil_script : 'ParaView-5.9.0.bat'
+ compil_script : 'ParaView-5.11.0.bat'
archive_info : {archive_name : "ParaView-5.11.0-RC2.tar.gz"}
depend : [
'Python',
opt_depend : ['openmpi', 'ospray','tbb', 'openturns', 'rkCommon', 'matplotlib']
patches : ['paraview-5.11.0.p001-FindCGNS.patch',
'paraview-5.11.0.p002-FindMPI.patch',
- 'paraview-5.11.0.p004-vtkUniformHyperTreeGrid.patch'
+ 'paraview-5.11.0.p004-vtkUniformHyperTreeGrid.patch',
+ 'paraview-5.11.0.p005-vtkPython-debug.patch'
]
}
--- /dev/null
+--- ParaView_ref/VTK/Utilities/Python/vtkPython.h 2022-10-25 18:16:21.000000000 +0200
++++ ParaView_new/VTK/Utilities/Python/vtkPython.h 2022-11-09 09:52:47.289203673 +0100
+@@ -76,8 +76,12 @@
+ #define HAVE_ROUND 1
+ #endif
+
+-#include <Python.h>
+-
++//#include <Python.h>
++#ifdef VTK_PYTHON_UNDEF_DEBUG
++ #define _DEBUG 1
++ #include <Python.h>
++ #undef _DEBUG
++#endif
+ #if defined(_MSC_VER) && _MSC_VER >= 1800
+ #undef HAVE_ROUND
+ #endif