diff options
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-2.61-xdg-utils.patch')
-rw-r--r-- | media-gfx/asymptote/files/asymptote-2.61-xdg-utils.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.61-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.61-xdg-utils.patch new file mode 100644 index 000000000000..269691eecfe9 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.61-xdg-utils.patch @@ -0,0 +1,22 @@ +Index: asymptote-2.61/settings.cc +=================================================================== +--- asymptote-2.61.orig/settings.cc ++++ asymptote-2.61/settings.cc +@@ -98,13 +98,13 @@ string defaultPSViewer="open"; + string defaultPDFViewer="open"; + string defaultHTMLViewer="open"; + #else +-string defaultPSViewer="gv"; +-string defaultPDFViewer="acroread"; +-string defaultHTMLViewer="google-chrome"; ++string defaultPSViewer="xdg-open"; ++string defaultPDFViewer="xdg-open"; ++string defaultHTMLViewer="xdg-open"; + #endif + string defaultGhostscript="gs"; + string defaultGhostscriptLibrary=""; +-string defaultDisplay="display"; ++string defaultDisplay="xdg-open"; + string defaultAnimate="animate"; + void queryRegistry() {} + const string dirsep="/"; |