diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2005-05-10 06:10:21 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2005-05-10 06:10:21 +0000 |
commit | 323973d144f7c8f57abf7b1e7dbd2348b680323e (patch) | |
tree | 3263bfbd3d0126a8f92db1f6ba1e170a6cc62950 /net/py-rrdtool_lgpl | |
parent | b3b2273ba8603fe5165340ec505084c9a765ec98 (diff) | |
download | ports-323973d144f7c8f57abf7b1e7dbd2348b680323e.tar.gz ports-323973d144f7c8f57abf7b1e7dbd2348b680323e.zip |
Notes
Diffstat (limited to 'net/py-rrdtool_lgpl')
-rw-r--r-- | net/py-rrdtool_lgpl/Makefile | 1 | ||||
-rw-r--r-- | net/py-rrdtool_lgpl/files/patch-src::_rrdtoolmodule.c | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/net/py-rrdtool_lgpl/Makefile b/net/py-rrdtool_lgpl/Makefile index 5676de7fd324..83a6f5479581 100644 --- a/net/py-rrdtool_lgpl/Makefile +++ b/net/py-rrdtool_lgpl/Makefile @@ -6,6 +6,7 @@ PORTNAME= rrdtool_lgpl PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= py-rrdtool diff --git a/net/py-rrdtool_lgpl/files/patch-src::_rrdtoolmodule.c b/net/py-rrdtool_lgpl/files/patch-src::_rrdtoolmodule.c new file mode 100644 index 000000000000..358957220aaf --- /dev/null +++ b/net/py-rrdtool_lgpl/files/patch-src::_rrdtoolmodule.c @@ -0,0 +1,17 @@ +--- src/_rrdtoolmodule.c.orig Tue May 10 15:02:49 2005 ++++ src/_rrdtoolmodule.c Tue May 10 15:06:59 2005 +@@ -232,11 +232,13 @@ + PyObject *r; + char **argv, **calcpr; + int argc, xsize, ysize, i; ++ double ymin, ymax; + + if (create_args("graph", args, &argc, &argv) < 0) + return NULL; + +- if (rrd_graph(argc, argv, &calcpr, &xsize, &ysize) == -1) { ++ if (rrd_graph(argc, argv, &calcpr, &xsize, &ysize, NULL, ++ &ymin, &ymax) == -1) { + PyErr_SetString(ErrorObject, rrd_get_error()); + rrd_clear_error(); + r = NULL; |