pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/rrdtool Fix a LP64BE problem with 'rrdtool g...
details: https://anonhg.NetBSD.org/pkgsrc/rev/77e1461bbb23
branches: trunk
changeset: 553136:77e1461bbb23
user: rafal <rafal%pkgsrc.org@localhost>
date: Fri Jan 16 02:23:03 2009 +0000
description:
Fix a LP64BE problem with 'rrdtool graph' where it claimed all graphs generated
were always of size 0x0. Patch already applied upstream.
diffstat:
databases/rrdtool/Makefile | 4 +++-
databases/rrdtool/distinfo | 3 ++-
databases/rrdtool/patches/patch-aa | 18 ++++++++++++++++++
3 files changed, 23 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r 7d2dcc0ada9d -r 77e1461bbb23 databases/rrdtool/Makefile
--- a/databases/rrdtool/Makefile Thu Jan 15 20:28:31 2009 +0000
+++ b/databases/rrdtool/Makefile Fri Jan 16 02:23:03 2009 +0000
@@ -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 -r 7d2dcc0ada9d -r 77e1461bbb23 databases/rrdtool/distinfo
--- a/databases/rrdtool/distinfo Thu Jan 15 20:28:31 2009 +0000
+++ b/databases/rrdtool/distinfo Fri Jan 16 02:23:03 2009 +0000
@@ -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 -r 7d2dcc0ada9d -r 77e1461bbb23 databases/rrdtool/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/rrdtool/patches/patch-aa Fri Jan 16 02:23:03 2009 +0000
@@ -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) {
Home |
Main Index |
Thread Index |
Old Index