summaryrefslogtreecommitdiff
path: root/graphics/gnuplot/patches
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2012-11-07 19:22:04 +0000
committerhe <he@pkgsrc.org>2012-11-07 19:22:04 +0000
commit273bbfa21ddbc50d6bed57d5399c09b015171e50 (patch)
tree86b22c61b35b72b53dd321581fffab91fdad8c20 /graphics/gnuplot/patches
parentd35cb65af361b5b57fbdc93f3a3d3321e6537925 (diff)
downloadpkgsrc-273bbfa21ddbc50d6bed57d5399c09b015171e50.tar.gz
Update gnuplot to version 4.6.1.
Update a comment in patch-ag. Remove the point patch for the "crash on first command when using editline", since this problem is now fixed upstream. Upstream changes relative to version 4.6.0: * NEW syntax hints inside Emacs gnuplot-mode * NEW support tabulation (set table) of pixel values from image plot styles * NEW support tabulation of variable color column * CHANGE emf output modified for better compatibility with MS Office programs * CHANGE canvas terminal loads appropriate font file for UTF-8 encoding * CHANGE skip execution of empty iteration loops in set and do commands * CHANGE build scripts modified to accommodate automake 1.12 * CHANGE new policy: objects given in screen coords are not clipped to graph * CHANGE Draw the z-axis label at a fixed distance to the left of the z-axis * CHANGE "unset object N" succeeds even if there is currently no object N * FIX margin space required for rotated axis tic labels * FIX check for NaN values in binary input * FIX backslash handling in enhanced text strings * FIX cairo terminals sometimes lost the line segment before a polygon * FIX interactive toggle of multiplots in svg * FIX failure to balance {} if an input file did not end with a newline * FIX strlen() and substring operators correctly handle UTF-8 * FIX initialization of history when configured --with-readline=bsd * FIX set term cairolatex pdf mono * FIX palette-related corruption in some cairolatex output * FIX preserve number of active call arguments across a nested call command * FIX wxt terminal mutex protecting execution of the command list * FIX apply clipping to the interior fill of circles and ellipses * FIX corruption of weights used for plotting with smooth acsplines * FIX skip columnheader line when applying "every" filter * FIX handle out-of-range pm3d values when cb axis is set to log scale * FIX top/bottom color distinction in hidden3d when not using palette/RGB colors * FIX allow toggling on/off of more than 10 plots in windows terminal * FIX color printing from windows terminal * FIX set term win font ",<size>" * FIX incorrect return for acos(x) when imag(x) > 0 (bug present since v3.7) incorrect return for asin(x) when imag(x) > 0 (bug in 4.4.4, 4.6.0) incorrect asinh(x) when real(x) < 0 && imag(x) == 0 (bug in 4.4.4, 4.6.0) * FIX keep sufficient precision in canvas and svg coords to report time in msec * FIX the input buffer was not always extended correctly inside a { clause } * FIX some cairolatex set_color requests were being ignored * FIX calculated value of kernel density mean and sigma * FIX emf terminal dashed line support
Diffstat (limited to 'graphics/gnuplot/patches')
-rw-r--r--graphics/gnuplot/patches/patch-ag12
-rw-r--r--graphics/gnuplot/patches/patch-src_command.c16
2 files changed, 7 insertions, 21 deletions
diff --git a/graphics/gnuplot/patches/patch-ag b/graphics/gnuplot/patches/patch-ag
index fe7fb7edc54..b86b0259299 100644
--- a/graphics/gnuplot/patches/patch-ag
+++ b/graphics/gnuplot/patches/patch-ag
@@ -1,11 +1,13 @@
-$NetBSD: patch-ag,v 1.5 2012/08/10 15:14:54 drochner Exp $
+$NetBSD: patch-ag,v 1.6 2012/11/07 19:22:05 he Exp $
NetBSD editline keeps header files in "readline", not "editline".
Same applies to DragonFly.
---- configure.orig 2012-03-08 04:35:17.000000000 +0000
+Also get rid of a non-portable "test ... ==" instance.
+
+--- configure.orig 2012-09-26 23:06:30.000000000 +0000
+++ configure
-@@ -8679,9 +8679,9 @@ fi
+@@ -9197,9 +9197,9 @@ fi
$as_echo "#define HAVE_LIBEDITLINE 1" >>confdefs.h
@@ -14,10 +16,10 @@ Same applies to DragonFly.
do :
- ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
+ ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
- if test "x$ac_cv_header_editline_readline_h" = x""yes; then :
+ if test "x$ac_cv_header_editline_readline_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_EDITLINE_READLINE_H 1
-@@ -14772,7 +14774,7 @@ $as_echo " tek40xx, tek410x, texdraw,
+@@ -15340,7 +15340,7 @@ $as_echo " tek40xx, tek410x, texdraw,
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
$as_echo "" >&6; }
diff --git a/graphics/gnuplot/patches/patch-src_command.c b/graphics/gnuplot/patches/patch-src_command.c
deleted file mode 100644
index 2d60f30c449..00000000000
--- a/graphics/gnuplot/patches/patch-src_command.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_command.c,v 1.1 2012/10/24 13:32:54 he Exp $
-
-Avoid de-referencing a NULL pointer on the first command executed(!)
-
---- src/command.c.orig 2012-02-27 21:58:36.000000000 +0000
-+++ src/command.c
-@@ -2689,7 +2689,8 @@ rlgets(char *s, size_t n, const char *pr
- /* deleting history entries does not work, so suppress adjacent
- duplicates only */
- while (previous_history());
-- if (strcmp(current_history()->line, line) != 0)
-+ if (current_history() != NULL &&
-+ strcmp(current_history()->line, line) != 0)
- add_history(line);
- # else /* builtin readline */
- add_history(line);