From 0f3b29bb1e019af4afd5b3bc34abb03ddf4f509b Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 25 Jun 2017 01:12:25 +0200 Subject: app-office/libreoffice: Allow alternatives to kioclient:4 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- .../libreoffice/files/libreoffice-5.3.4.2-kioclient5.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app-office/libreoffice/files/libreoffice-5.3.4.2-kioclient5.patch (limited to 'app-office/libreoffice/files/libreoffice-5.3.4.2-kioclient5.patch') diff --git a/app-office/libreoffice/files/libreoffice-5.3.4.2-kioclient5.patch b/app-office/libreoffice/files/libreoffice-5.3.4.2-kioclient5.patch new file mode 100644 index 000000000000..a6e732f7f379 --- /dev/null +++ b/app-office/libreoffice/files/libreoffice-5.3.4.2-kioclient5.patch @@ -0,0 +1,11 @@ +--- a/shell/source/unix/misc/senddoc.sh 2017-06-15 15:44:22.000000000 +0200 ++++ b/shell/source/unix/misc/senddoc.sh 2017-06-25 01:00:08.525435930 +0200 +@@ -389,6 +389,8 @@ + elif [ -n "$DESKTOP_LAUNCH" ]; then + # http://lists.freedesktop.org/pipermail/xdg/2004-August/002873.html + MAILER=${DESKTOP_LAUNCH} ++ elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open5 ] ; then ++ MAILER=/usr/bin/kde-open5 + elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] ; then + MAILER=/usr/bin/kde-open + elif [ -x /usr/bin/xdg-open ] ; then -- cgit v1.2.3-65-gdbad