aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice/files
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-02-07 20:37:18 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-02-07 20:37:18 +0000
commitb920fe11ad62c9d740c84dc3cf67d7f733b7344f (patch)
treeecd87ccc816a4a37c194ee766146e9002c253693 /editors/libreoffice/files
parenteac502ad61dc0d0f5f6f73d21a744cbd45c50127 (diff)
Notes
Diffstat (limited to 'editors/libreoffice/files')
-rw-r--r--editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx b/editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx
new file mode 100644
index 000000000000..a52189df87db
--- /dev/null
+++ b/editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx
@@ -0,0 +1,11 @@
+--- shell/source/unix/exec/shellexec.cxx.orig 2017-01-12 00:54:33 UTC
++++ shell/source/unix/exec/shellexec.cxx
+@@ -157,7 +157,7 @@ void SAL_CALL ShellExec::execute( const
+ if (std::getenv("LIBO_FLATPAK") != nullptr) {
+ aBuffer.append("/app/bin/xdg-open");
+ } else {
+- aBuffer.append("/usr/bin/xdg-open");
++ aBuffer.append("%%LOCALBASE%%/bin/xdg-open");
+ }
+ #endif
+ aBuffer.append(" ");