summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-2.60-xdg-utils.patch')
-rw-r--r--media-gfx/asymptote/files/asymptote-2.60-xdg-utils.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.60-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.60-xdg-utils.patch
new file mode 100644
index 000000000000..69eefaec963f
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.60-xdg-utils.patch
@@ -0,0 +1,22 @@
+Index: asymptote-2.60/settings.cc
+===================================================================
+--- asymptote-2.60.orig/settings.cc
++++ asymptote-2.60/settings.cc
+@@ -98,13 +98,13 @@ string defaultPSViewer="open";
+ string defaultPDFViewer="open";
+ string defaultHTMLViewer="open";
+ #else
+-string defaultPSViewer="gv";
+-string defaultPDFViewer="acroread";
+-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 defaultDisplay="xdg-open";
+ string defaultAnimate="animate";
+ void queryRegistry() {}
+ const string dirsep="/";