aboutsummaryrefslogtreecommitdiff
path: root/japanese/mozc-server/files/patch-src_base_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mozc-server/files/patch-src_base_process.cc')
-rw-r--r--japanese/mozc-server/files/patch-src_base_process.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/mozc-server/files/patch-src_base_process.cc b/japanese/mozc-server/files/patch-src_base_process.cc
new file mode 100644
index 000000000000..9832c2f21642
--- /dev/null
+++ b/japanese/mozc-server/files/patch-src_base_process.cc
@@ -0,0 +1,11 @@
+--- base/process.cc.org 2010-06-17 15:59:08.038677016 +0900
++++ base/process.cc 2010-06-26 15:14:15.207482874 +0900
+@@ -195,7 +195,7 @@
+ #endif
+
+ #ifdef OS_LINUX
+- static const char kBrowserCommand[] = "/usr/bin/xdg-open";
++ static const char kBrowserCommand[] = "@@LOCALBASE@@/bin/xdg-open";
+ // xdg-open which uses kfmclient or gnome-open internally works both on KDE
+ // and GNOME environments.
+ return SpawnProcess(kBrowserCommand, url);