diff options
author | demon <demon@FreeBSD.org> | 2005-05-10 16:45:26 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2005-05-10 16:45:26 +0800 |
commit | e9f2bd7b57ba8dfdd753d6b68d635f3d6051264c (patch) | |
tree | 1f249e8ea4c36946dc24359730e5d82f90cd9d84 | |
parent | edc867a0a557d87cc660ff688cd3ed56ad047acd (diff) | |
download | freebsd-ports-gnome-e9f2bd7b57ba8dfdd753d6b68d635f3d6051264c.tar.gz freebsd-ports-gnome-e9f2bd7b57ba8dfdd753d6b68d635f3d6051264c.tar.zst freebsd-ports-gnome-e9f2bd7b57ba8dfdd753d6b68d635f3d6051264c.zip |
Fix build with rrdtool 1.2.x.
-rw-r--r-- | net/happystats/files/patch-rrdgraph.c | 19 |
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 */ |