diff options
Diffstat (limited to 'graphics/paraview/012_doc_path.diff')
-rw-r--r-- | graphics/paraview/012_doc_path.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/paraview/012_doc_path.diff b/graphics/paraview/012_doc_path.diff new file mode 100644 index 000000000000..f77037e965fc --- /dev/null +++ b/graphics/paraview/012_doc_path.diff @@ -0,0 +1,20 @@ +--- Remoting/Core/vtkPVFileInformation.cxx.orig 2021-05-14 02:47:34.000000000 +1000 ++++ Remoting/Core/vtkPVFileInformation.cxx 2021-05-23 20:53:31.322000000 +1000 +@@ -1227,13 +1227,15 @@ + //----------------------------------------------------------------------------- + std::string vtkPVFileInformation::GetParaViewExampleFilesDirectory() + { +- return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/examples"; ++ /* return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/examples"; */ ++ return "/usr/doc/paraview-"PARAVIEW_VERSION_FULL ; + } + + //----------------------------------------------------------------------------- + std::string vtkPVFileInformation::GetParaViewDocDirectory() + { +- return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc"; ++ /* return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc"; */ ++ return "/usr/doc/paraview-"PARAVIEW_VERSION_FULL ; + } + + //----------------------------------------------------------------------------- |