summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2005-05-10 08:41:31 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2005-05-10 08:41:31 +0000
commit959321377f4210884a76133399bfddb03040b13f (patch)
tree7121731ef849b6fb87e0fef6254540062b4cdb61 /databases
parentFix building on 4-STABLE. (diff)
Fix build with rrdtool 1.2.x.
Spotted by: kris
Notes
Notes: svn path=/head/; revision=134973
Diffstat (limited to 'databases')
-rw-r--r--databases/php4-rrdtool/files/patch-rrdtool.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/php4-rrdtool/files/patch-rrdtool.c b/databases/php4-rrdtool/files/patch-rrdtool.c
new file mode 100644
index 000000000000..951af3a8f254
--- /dev/null
+++ b/databases/php4-rrdtool/files/patch-rrdtool.c
@@ -0,0 +1,20 @@
+--- rrdtool.c.orig Thu Jun 12 03:27:51 2003
++++ rrdtool.c Tue May 10 12:39:24 2005
+@@ -331,6 +331,7 @@
+ HashTable *args_arr;
+ int i, xsize, ysize, argc;
+ char **argv, **calcpr;
++ double ymin, ymax;
+
+
+ if ( rrd_test_error() )
+@@ -377,7 +378,8 @@
+ }
+
+ optind = 0; opterr = 0;
+- if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize) != -1 )
++ if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize,
++ NULL, &ymin, &ymax) != -1 )
+ {
+ array_init(return_value);
+ add_assoc_long(return_value, "xsize", xsize);