From 8d27cabdc971747a0e1f09ceb20108ed3fa69528 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 25 Apr 2013 07:11:30 +0000 Subject: [PATCH] Additional fix for paraview - problem with SIGSEGV in dlclose from VTK dynamic loader --- config_files/ParaView.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/config_files/ParaView.sh b/config_files/ParaView.sh index 24b352d..210b37b 100755 --- a/config_files/ParaView.sh +++ b/config_files/ParaView.sh @@ -80,27 +80,26 @@ if [ -f ${data_archive} ] ; then fi ### patch paraview -# 1. +# 1. fix missing library dependencies local patch_lib_depends=1 if [ "${patch_lib_depends}" == "1" ] ; then echo "target_link_libraries(vtkWrappingPython pthread util)" >> ${PRODUCT_SRC_DIR}/VTK/Wrapping/Python/CMakeLists.txt sed -i "s%VTK_PYTHON_LIBRARIES})%VTK_PYTHON_LIBRARIES} pthread util)%g" ${PRODUCT_SRC_DIR}/ParaViewCore/PythonSupport/CMakeLists.txt sed -i "s%PYTHON_UTIL_LIBRARY_LIB}%PYTHON_UTIL_LIBRARY_LIB} pthread dl%g" ${PRODUCT_SRC_DIR}/ThirdParty/QtTesting/vtkqttesting/CMakeLists.txt fi -# 2. +# 2. fix problem with SurfaceLIC plugin local patch_surface_lic=1 if [ "${patch_surface_lic}" == "1" -a -f ${SRCDIR}/patches/surface_lic.png ] ; then cp -f ${SRCDIR}/patches/surface_lic.png ${PRODUCT_SRC_DIR}/Plugins/SurfaceLIC/doc fi -# 3. +# 3. fix about missing TopologicalSort.cmake local patch_topological_sort=1 if [ "${patch_topological_sort}" == "1" ] ; then sed -i "s%CMake/vtkWrapTcl.cmake%CMake/vtkWrapTcl.cmake\n\t\tCMake/TopologicalSort.cmake%" ${PRODUCT_SRC_DIR}/VTK/CMake/vtkModuleTop.cmake fi -# 4. +# 4. fix about missing header files local patch_missing_headers=1 if [ "${patch_missing_headers}" == "1" ] ; then - echo -n ".. Patching ParaView sources: fix about missing missing pq3DWidget.h and others header files..." && \ cat >> ${PRODUCT_SRC_DIR}/Qt/Components/CMakeLists.txt <