diff options
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-2.11-xdg-utils.patch')
-rw-r--r-- | media-gfx/asymptote/files/asymptote-2.11-xdg-utils.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.11-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.11-xdg-utils.patch new file mode 100644 index 000000000000..543352e472af --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.11-xdg-utils.patch @@ -0,0 +1,22 @@ +Index: asymptote-2.11/settings.cc +=================================================================== +--- asymptote-2.11.orig/settings.cc ++++ asymptote-2.11/settings.cc +@@ -95,14 +95,14 @@ bool msdos=false; + string HOME="HOME"; + string docdir=ASYMPTOTE_DOCDIR; + 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"; + void queryRegistry() {} + const string dirsep="/"; |