diff options
author | Andrey Grozin <grozin@gentoo.org> | 2024-11-03 11:23:51 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2024-11-03 11:23:51 +0700 |
commit | d06c85d1d2e1c9184222894a64ea505d59f46c7a (patch) | |
tree | b0b8d71c7f7e19ffa25d5861f9fadeac78d51cde /media-gfx/asymptote | |
parent | app-arch/stormlib: Bump to 9.30 (diff) | |
download | gentoo-d06c85d1d2e1c9184222894a64ea505d59f46c7a.tar.gz gentoo-d06c85d1d2e1c9184222894a64ea505d59f46c7a.tar.bz2 gentoo-d06c85d1d2e1c9184222894a64ea505d59f46c7a.zip |
media-gfx/asymptote: add missing patch
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'media-gfx/asymptote')
-rw-r--r-- | media-gfx/asymptote/files/asymptote-2.92-xdg-utils.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.92-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.92-xdg-utils.patch new file mode 100644 index 000000000000..a8367f5deab9 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.92-xdg-utils.patch @@ -0,0 +1,23 @@ +diff '--color=auto' -r -U3 asymptote-2.92.orig/settings.cc asymptote-2.92/settings.cc +--- asymptote-2.92.orig/settings.cc 2024-10-08 01:22:37.000000000 +0700 ++++ asymptote-2.92/settings.cc 2024-11-02 13:48:32.771147121 +0700 +@@ -101,14 +101,14 @@ + string defaultPDFViewer="open"; + string defaultHTMLViewer="open"; + #else +-string defaultPSViewer="evince"; +-string defaultPDFViewer="evince"; +-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 defaultAnimate="magick"; ++string defaultDisplay="xdg-open"; ++string defaultAnimate="xdg-open"; + void queryRegistry() {} + const string dirsep="/"; + |