summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-1.79-xdg-utils.patch')
-rw-r--r--media-gfx/asymptote/files/asymptote-1.79-xdg-utils.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-1.79-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-1.79-xdg-utils.patch
new file mode 100644
index 000000000000..66ae847302bc
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-1.79-xdg-utils.patch
@@ -0,0 +1,23 @@
+Index: asymptote-1.79/settings.cc
+===================================================================
+--- asymptote-1.79.orig/settings.cc
++++ asymptote-1.79/settings.cc
+@@ -80,15 +80,15 @@ const bool haveglut=false;
+ 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 defaultPython;
+-string defaultDisplay="display";
++string defaultDisplay="xdg-open";
+ string systemDir=ASYMPTOTE_SYSDIR;
+ string docdir=ASYMPTOTE_DOCDIR;
+ void queryRegistry() {}