slackbuilds_ponce/graphics/paraview/012_doc_path.diff
Christoph Willing 4b76a07ff4
graphics/paraview: Updated for version 5.9.1
Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-05-26 08:07:35 +07:00

20 lines
1 KiB
Diff

--- 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 ;
}
//-----------------------------------------------------------------------------