aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/luminance/files/patch-src__HelpBrowser__LuminancePaths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/luminance/files/patch-src__HelpBrowser__LuminancePaths.cpp')
-rw-r--r--graphics/luminance/files/patch-src__HelpBrowser__LuminancePaths.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/luminance/files/patch-src__HelpBrowser__LuminancePaths.cpp b/graphics/luminance/files/patch-src__HelpBrowser__LuminancePaths.cpp
new file mode 100644
index 00000000000..92b49708b84
--- /dev/null
+++ b/graphics/luminance/files/patch-src__HelpBrowser__LuminancePaths.cpp
@@ -0,0 +1,11 @@
+--- ./src/HelpBrowser/LuminancePaths.cpp.orig 2009-12-05 19:28:52.000000000 +0300
++++ ./src/HelpBrowser/LuminancePaths.cpp 2010-11-12 14:20:53.460402688 +0300
+@@ -35,7 +35,7 @@
+ hf = LocalizedDirPath(QApplication::applicationDirPath() + dirsep + "help" + dirsep );
+ #else
+ // hf = LocalizedDirPath( PREFIX + dirsep + "share" + dirsep + "fontmatrix" + dirsep + "help" + dirsep );
+- hf = LocalizedDirPath( "/usr" + dirsep + "share" + dirsep + "luminance" + dirsep + "help" + dirsep );
++ hf = LocalizedDirPath( "%%HELPDIR%%/" );
+ #endif
+ getThis()->LuminancePathsDB["HelpDir"] = hf;
+