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