diff options
author | martti <martti@pkgsrc.org> | 2008-07-29 17:23:17 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2008-07-29 17:23:17 +0000 |
commit | 6d050e7d9114521229ae2d9ef0680245785c3c49 (patch) | |
tree | d30f6cd05f30dd38050c14c14a785a26c9830f7f /databases/rrdtool/patches | |
parent | 7d2d66b7e68b8c7596df40f2302f7c8715b57cbd (diff) | |
download | pkgsrc-6d050e7d9114521229ae2d9ef0680245785c3c49.tar.gz |
Updated databases/rrdtool to 1.3.1
* image size does get returned properly even with --lazy active
this broke a number of frontends which should work now.
* fix rrd_restore to be able to read rrd 1.0.x generated dumps again.
* several documetation fixes
* make rrdtool.spec work without php
* complain when someone tries to create an rrd file with step size zero.
* added filename to illegal updated interval error message.
* fix number of rows returned by python modules fetch implementation.
Diffstat (limited to 'databases/rrdtool/patches')
-rw-r--r-- | databases/rrdtool/patches/patch-al | 8 | ||||
-rw-r--r-- | databases/rrdtool/patches/patch-am | 22 |
2 files changed, 4 insertions, 26 deletions
diff --git a/databases/rrdtool/patches/patch-al b/databases/rrdtool/patches/patch-al index e5d5e080987..81a9fc2e358 100644 --- a/databases/rrdtool/patches/patch-al +++ b/databases/rrdtool/patches/patch-al @@ -1,10 +1,10 @@ -$NetBSD: patch-al,v 1.12 2008/06/30 07:29:48 martti Exp $ +$NetBSD: patch-al,v 1.13 2008/07/29 17:23:17 martti Exp $ Correct examples directory. ---- examples/Makefile.in.orig 2007-11-20 02:15:30.000000000 +0200 -+++ examples/Makefile.in 2007-11-20 12:57:37.000000000 +0200 -@@ -224,7 +224,7 @@ +--- examples/Makefile.in.orig 2008-07-23 16:02:43.000000000 +0300 ++++ examples/Makefile.in 2008-07-29 20:17:30.000000000 +0300 +@@ -281,7 +281,7 @@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = cgi-demo.cgi.in diff --git a/databases/rrdtool/patches/patch-am b/databases/rrdtool/patches/patch-am deleted file mode 100644 index a75bb855518..00000000000 --- a/databases/rrdtool/patches/patch-am +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-am,v 1.6 2008/06/30 07:29:48 martti Exp $ - -Prepend file name to error message. - ---- src/rrd_update.c.orig 2008-06-11 01:12:55.000000000 +0200 -+++ src/rrd_update.c -@@ -502,6 +502,15 @@ int _rrd_update( - rra_step_cnt, updvals, tmpl_idx, tmpl_cnt, - &pcdp_summary, version, skip_update, - &schedule_smooth) == -1) { -+ if (rrd_test_error()) { /* Should have error string always here */ -+ char *save_error; -+ -+ /* Prepend file name to error message */ -+ if ((save_error = strdup(rrd_get_error())) != NULL) { -+ rrd_set_error("%s: %s", filename, save_error); -+ free(save_error); -+ } -+ } - free(arg_copy); - break; - } |