diff options
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-1.47-xdg-utils.patch')
-rw-r--r-- | media-gfx/asymptote/files/asymptote-1.47-xdg-utils.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-1.47-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-1.47-xdg-utils.patch new file mode 100644 index 000000000000..f261af66529d --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-1.47-xdg-utils.patch @@ -0,0 +1,19 @@ +diff -r -U2 asymptote-1.47.orig/settings.cc asymptote-1.47/settings.cc +--- asymptote-1.47.orig/settings.cc 2008-10-23 14:06:15.000000000 +0700 ++++ asymptote-1.47/settings.cc 2008-11-02 03:51:08.000000000 +0600 +@@ -81,12 +81,12 @@ + const char *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 defaultPython; + const string docdir=ASYMPTOTE_DOCDIR; |