commit:     d06c85d1d2e1c9184222894a64ea505d59f46c7a
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 04:23:51 2024 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 04:23:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d06c85d1

media-gfx/asymptote: add missing patch

Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 .../asymptote/files/asymptote-2.92-xdg-utils.patch | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/media-gfx/asymptote/files/asymptote-2.92-xdg-utils.patch 
b/media-gfx/asymptote/files/asymptote-2.92-xdg-utils.patch
new file mode 100644
index 000000000000..a8367f5deab9
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.92-xdg-utils.patch
@@ -0,0 +1,23 @@
+diff '--color=auto' -r -U3 asymptote-2.92.orig/settings.cc 
asymptote-2.92/settings.cc
+--- asymptote-2.92.orig/settings.cc    2024-10-08 01:22:37.000000000 +0700
++++ asymptote-2.92/settings.cc 2024-11-02 13:48:32.771147121 +0700
+@@ -101,14 +101,14 @@
+ string defaultPDFViewer="open";
+ string defaultHTMLViewer="open";
+ #else
+-string defaultPSViewer="evince";
+-string defaultPDFViewer="evince";
+-string defaultHTMLViewer="google-chrome";
++string defaultPSViewer="xdg-open";
++string defaultPDFViewer="xdg-open";
++string defaultHTMLViewer="xdg-open";
+ #endif
+ string defaultGhostscript="gs";
+ string defaultGhostscriptLibrary="";
+-string defaultDisplay="display";
+-string defaultAnimate="magick";
++string defaultDisplay="xdg-open";
++string defaultAnimate="xdg-open";
+ void queryRegistry() {}
+ const string dirsep="/";
+ 

Reply via email to