diff options
author | rafal <rafal@pkgsrc.org> | 2009-01-16 02:23:03 +0000 |
---|---|---|
committer | rafal <rafal@pkgsrc.org> | 2009-01-16 02:23:03 +0000 |
commit | bc2c9f53e286f59bf6df121105f415f408a1826b (patch) | |
tree | 2946b135187d3c2af6c2f46dc52d8fc7794d5e1f /databases/rrdtool | |
parent | f79e225b52b54c4f6cb0caaaf021df2e380b21ab (diff) | |
download | pkgsrc-bc2c9f53e286f59bf6df121105f415f408a1826b.tar.gz |
Fix a LP64BE problem with 'rrdtool graph' where it claimed all graphs generated
were always of size 0x0. Patch already applied upstream.
Diffstat (limited to 'databases/rrdtool')
-rw-r--r-- | databases/rrdtool/Makefile | 4 | ||||
-rw-r--r-- | databases/rrdtool/distinfo | 3 | ||||
-rw-r--r-- | databases/rrdtool/patches/patch-aa | 18 |
3 files changed, 23 insertions, 2 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile index 0a791014b4f..dbe78513528 100644 --- a/databases/rrdtool/Makefile +++ b/databases/rrdtool/Makefile @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.74 2009/01/02 20:07:07 martti Exp $ +# $NetBSD: Makefile,v 1.75 2009/01/16 02:23:03 rafal Exp $ DISTNAME= rrdtool-1.3.5 +PKGREVISION= 1 + CATEGORIES= databases graphics net MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ diff --git a/databases/rrdtool/distinfo b/databases/rrdtool/distinfo index 127d9e6cbb5..b798d89d079 100644 --- a/databases/rrdtool/distinfo +++ b/databases/rrdtool/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.34 2009/01/02 20:07:07 martti Exp $ +$NetBSD: distinfo,v 1.35 2009/01/16 02:23:03 rafal Exp $ SHA1 (rrdtool-1.3.5.tar.gz) = 0d123c054bdf30bfe5fa28c028ff3e8437f3777b RMD160 (rrdtool-1.3.5.tar.gz) = fec1df84b7cb970bd35bb4fe8a8d9a2dd46c8cf5 Size (rrdtool-1.3.5.tar.gz) = 1075738 bytes +SHA1 (patch-aa) = fd24a682eb16b50c516d57787ef9d9981d74e7ad SHA1 (patch-al) = 6c01b709fd8ca1b2f7968e721a8684864ae1db42 diff --git a/databases/rrdtool/patches/patch-aa b/databases/rrdtool/patches/patch-aa new file mode 100644 index 00000000000..30da4edf7ef --- /dev/null +++ b/databases/rrdtool/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.13 2009/01/16 02:23:03 rafal Exp $ + +Fix image sizes on LP64BE + +--- src/rrd_graph.c.orig 2008-10-04 12:04:04.000000000 -0400 ++++ src/rrd_graph.c +@@ -3551,9 +3551,9 @@ int rrd_graph( + *ymax = 0; + while (walker) { + if (strcmp(walker->key, "image_width") == 0) { +- *xsize = walker->value.u_int; ++ *xsize = walker->value.u_cnt; + } else if (strcmp(walker->key, "image_height") == 0) { +- *ysize = walker->value.u_int; ++ *ysize = walker->value.u_cnt; + } else if (strcmp(walker->key, "value_min") == 0) { + *ymin = walker->value.u_val; + } else if (strcmp(walker->key, "value_max") == 0) { |