diff options
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-2.48-xdg-utils.patch')
-rw-r--r-- | media-gfx/asymptote/files/asymptote-2.48-xdg-utils.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.48-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.48-xdg-utils.patch new file mode 100644 index 000000000000..fe4ca556a73c --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.48-xdg-utils.patch @@ -0,0 +1,23 @@ +Index: asymptote-2.48/settings.cc +=================================================================== +--- asymptote-2.48.orig/settings.cc ++++ asymptote-2.48/settings.cc +@@ -91,15 +91,15 @@ 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 defaultGhostscriptLibrary=""; +-string defaultDisplay="display"; ++string defaultDisplay="xdg-open"; + string defaultAnimate="animate"; + void queryRegistry() {} + const string dirsep="/"; |