summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch')
-rw-r--r--media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch
new file mode 100644
index 000000000000..3f2a83b8e8f1
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch
@@ -0,0 +1,22 @@
+Index: asymptote-1.87/settings.cc
+===================================================================
+--- asymptote-1.87.orig/settings.cc
++++ asymptote-1.87/settings.cc
+@@ -82,14 +82,14 @@ mode_t mask;
+ bool msdos=false;
+ string HOME="HOME";
+ const char pathSeparator=':';
+-string defaultPSViewer="gv";
++string defaultPSViewer="xdg-open";
+ #ifdef __APPLE__
+ string defaultPDFViewer="open";
+ #else
+-string defaultPDFViewer="acroread";
++string defaultPDFViewer="xdg-open";
+ #endif
+ string defaultGhostscript="gs";
+-string defaultDisplay="display";
++string defaultDisplay="xdg-open";
+ string defaultAnimate="animate";
+ string systemDir=ASYMPTOTE_SYSDIR;
+ string docdir=ASYMPTOTE_DOCDIR;