summaryrefslogtreecommitdiff
path: root/math/octave/patches/patch-scripts_plot_util_____gnuplot__drawnow____.m
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave/patches/patch-scripts_plot_util_____gnuplot__drawnow____.m')
-rw-r--r--math/octave/patches/patch-scripts_plot_util_____gnuplot__drawnow____.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/octave/patches/patch-scripts_plot_util_____gnuplot__drawnow____.m b/math/octave/patches/patch-scripts_plot_util_____gnuplot__drawnow____.m
new file mode 100644
index 00000000000..075c1fe5074
--- /dev/null
+++ b/math/octave/patches/patch-scripts_plot_util_____gnuplot__drawnow____.m
@@ -0,0 +1,16 @@
+$NetBSD: patch-scripts_plot_util_____gnuplot__drawnow____.m,v 1.1 2016/02/16 04:21:40 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/util/__gnuplot_drawnow__.m.orig 2015-05-23 14:21:53.000000000 +0000
++++ scripts/plot/util/__gnuplot_drawnow__.m
+@@ -351,7 +351,7 @@ function term = gnuplot_default_term (pl
+ if (isempty (term) || ! __gnuplot_has_terminal__ (term, plot_stream))
+ if (isguirunning () && __gnuplot_has_terminal__ ("qt", plot_stream))
+ term = "qt";
+- elseif (ismac ())
++ elseif (0 && ismac ()) ## disabled in pkgsrc because libaquaterm is not installed
+ term = "aqua";
+ elseif (! isunix ())
+ term = "windows";