1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Fix build with rrdtool 1.2.x.

Spotted by:	kris
This commit is contained in:
Dmitry Sivachenko 2005-05-10 08:41:31 +00:00
parent 5d944271ea
commit 959321377f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134973
2 changed files with 40 additions and 0 deletions

View File

@ -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);

View File

@ -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);