diff options
author | dbj <dbj@pkgsrc.org> | 2015-04-23 06:48:53 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2015-04-23 06:48:53 +0000 |
commit | 5284ff0a7fd746b934f67f3fca064328d01683bc (patch) | |
tree | b0316a09d57d83c86f7eb6737aa4c2ffc216b514 /math | |
parent | 97e646c60d68dccc5aa9a2e74c5168589b3dbbb8 (diff) | |
download | pkgsrc-5284ff0a7fd746b934f67f3fca064328d01683bc.tar.gz |
don't assume gnuplot is configured with libaquaterm on mac
Diffstat (limited to 'math')
-rw-r--r-- | math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m b/math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m new file mode 100644 index 00000000000..3ce42e3b776 --- /dev/null +++ b/math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m @@ -0,0 +1,16 @@ +$NetBSD: patch-scripts_plot_____gnuplot__drawnow____.m,v 1.1 2015/04/23 06:48:53 dbj Exp $ + +We don't currently install libaquaterm on pkgsrc, so making the gnuplot +"aqua" term the default on the mac is unlikely to work. + +--- scripts/plot/__gnuplot_drawnow__.m.orig 2013-02-21 20:19:24.000000000 +0000 ++++ scripts/plot/__gnuplot_drawnow__.m +@@ -328,7 +328,7 @@ function term = gnuplot_default_term () + term = getenv ("GNUTERM"); + ## If not specified, guess the terminal type. + if (isempty (term)) +- if (ismac ()) ++ if (0 && ismac ()) ## disabled in pkgsrc because libaquaterm is not installed + term = "aqua"; + elseif (! isunix ()) + term = "windows"; |