diff options
author | Andrey Grozin <grozin@gentoo.org> | 2016-09-11 23:23:10 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2016-09-11 23:23:10 +0700 |
commit | 1037d22e2e7b2475e77cc4d976725bece280bc99 (patch) | |
tree | 7cd7d605ed6348482056f16e28afd01fb9699b2b /media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch | |
parent | ff11c961891eb0a9d65414b7a72528958474015c (diff) | |
download | gentoo-1037d22e2e7b2475e77cc4d976725bece280bc99.tar.gz gentoo-1037d22e2e7b2475e77cc4d976725bece280bc99.tar.xz |
media-gfx/asymptote: bump to 2.38
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch')
-rw-r--r-- | media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch new file mode 100644 index 00000000000..044244e4008 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch @@ -0,0 +1,23 @@ +Index: asymptote-2.38/settings.cc +=================================================================== +--- asymptote-2.38.orig/settings.cc ++++ asymptote-2.38/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="/usr/lib/libgs.so"; +-string defaultDisplay="display"; ++string defaultDisplay="xdg-open"; + string defaultAnimate="animate"; + void queryRegistry() {} + const string dirsep="/"; |