summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-2.70-xdg-utils.patch')
-rw-r--r--media-gfx/asymptote/files/asymptote-2.70-xdg-utils.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.70-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.70-xdg-utils.patch
new file mode 100644
index 000000000000..bf7b50973e36
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.70-xdg-utils.patch
@@ -0,0 +1,23 @@
+Только в asymptote-2.67.orig: .pc
+Index: asymptote-2.70/settings.cc
+===================================================================
+--- asymptote-2.70.orig/settings.cc
++++ asymptote-2.70/settings.cc
+@@ -101,13 +101,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="/";