diff --git a/paraview/patch/paraview-5.13.0-vtkPVFileInformation.cxx.patch b/paraview/patch/paraview-5.13.0-vtkPVFileInformation.cxx.patch new file mode 100644 index 0000000000..57816fc041 --- /dev/null +++ b/paraview/patch/paraview-5.13.0-vtkPVFileInformation.cxx.patch @@ -0,0 +1,13 @@ +--- a/Remoting/Core/vtkPVFileInformation.cxx 2018-04-06 22:03:33.000000000 +0200 ++++ b/Remoting/Core/vtkPVFileInformation.cxx 2018-05-20 07:11:10.114020235 +0200 +@@ -1226,6 +1222,11 @@ + resource_dir = vtksys::SystemTools::CollapseFullPath(resource_dir); + } + ++ vtkProcessModule* pm = vtkProcessModule::GetProcessModule(); ++ ++ if((pm)&&(prefixes.size())) ++ resource_dir = pm->GetSelfDir() + "/../" + prefixes[0]; ++ + return resource_dir; + } diff --git a/paraview/patch/patch-paraview-5.13.0.sh b/paraview/patch/patch-paraview-5.13.0.sh index 0c3ac5a247..f6b792e9dc 100755 --- a/paraview/patch/patch-paraview-5.13.0.sh +++ b/paraview/patch/patch-paraview-5.13.0.sh @@ -74,9 +74,8 @@ mkdir -p TTK/Data/ cp ${PATCH_DIR}/data/* TTK/Data/ cp TTK/Data/*pvsm Qt/ApplicationComponents/Resources/ExampleVisualizations/ cp TTK/Data/*png Qt/ApplicationComponents/Resources/Thumbnails/ -# the patch below makes the build fail under macos-14... -#$PATCH_BIN Remoting/Core/vtkPVFileInformation.cxx \ -# < "${PATCH_DIR}/paraview-5.8.0-vtkPVFileInformation.cxx.patch" +$PATCH_BIN Remoting/Core/vtkPVFileInformation.cxx \ + < "${PATCH_DIR}/paraview-5.13.0-vtkPVFileInformation.cxx.patch" $PATCH_BIN Qt/ApplicationComponents/Resources/UI/pqExampleVisualizationsDialog.ui \ < "${PATCH_DIR}/paraview-5.13.0-ApplicationComponents.patch" $PATCH_BIN Qt/ApplicationComponents/pqExampleVisualizationsDialog.cxx \