aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2005-05-10 08:45:26 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2005-05-10 08:45:26 +0000
commit4527d257192cd4db6e8aea9c9548996446be4604 (patch)
treec76f7f92f52747fc4a607ef2581ee5f9505dcc86
parent959321377f4210884a76133399bfddb03040b13f (diff)
downloadports-4527d257192cd4db6e8aea9c9548996446be4604.tar.gz
ports-4527d257192cd4db6e8aea9c9548996446be4604.zip
Fix build with rrdtool 1.2.x.
Notes
Notes: svn path=/head/; revision=134974
-rw-r--r--net/happystats/files/patch-rrdgraph.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/happystats/files/patch-rrdgraph.c b/net/happystats/files/patch-rrdgraph.c
new file mode 100644
index 000000000000..4a52f9ad0254
--- /dev/null
+++ b/net/happystats/files/patch-rrdgraph.c
@@ -0,0 +1,19 @@
+--- rrdgraph.c.orig Sun Feb 8 20:18:11 2004
++++ rrdgraph.c Tue May 10 12:44:14 2005
+@@ -13,6 +13,7 @@
+ char **calcpr;
+ int xsize, ysize ;
+ /* int end ; */
++ double ymin, ymax;
+
+ short unit_sec ;
+
+@@ -237,7 +238,7 @@
+ /* Create Graph from rrd file and config */
+ optind = 0;
+ rrd_clear_error();
+- rc = rrd_graph(rrdargc,rrdcmd,&calcpr, &xsize, &ysize);
++ rc = rrd_graph(rrdargc,rrdcmd,&calcpr, &xsize, &ysize, NULL, &ymin, &ymax);
+
+
+ /* Check for Errors */