pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/hobbitmon Make this package build with rrdtool-1.2.x.
details: https://anonhg.NetBSD.org/pkgsrc/rev/616592a73b2f
branches: trunk
changeset: 499278:616592a73b2f
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Sep 17 21:31:26 2005 +0000
description:
Make this package build with rrdtool-1.2.x.
diffstat:
net/hobbitmon/distinfo | 4 +++-
net/hobbitmon/patches/patch-aa | 17 +++++++++++++++++
net/hobbitmon/patches/patch-ac | 22 ++++++++++++++++++++++
3 files changed, 42 insertions(+), 1 deletions(-)
diffs (62 lines):
diff -r 4ff6121a6ecf -r 616592a73b2f net/hobbitmon/distinfo
--- a/net/hobbitmon/distinfo Sat Sep 17 20:58:59 2005 +0000
+++ b/net/hobbitmon/distinfo Sat Sep 17 21:31:26 2005 +0000
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:13:49 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/09/17 21:31:26 minskim Exp $
SHA1 (hobbit-4.0-beta6.tar.gz) = 82e6a76e55682c205adac47e54830064bba44f2d
RMD160 (hobbit-4.0-beta6.tar.gz) = 6542f6a1cd58236c85eefc74872436ee75f36b4b
Size (hobbit-4.0-beta6.tar.gz) = 1130547 bytes
+SHA1 (patch-aa) = a1d5ceaaa7cc99be2a55543234cdd3b20dd0e1a9
SHA1 (patch-ab) = a5d0145f0dd6886a631aa22a093da1d6a28299e3
+SHA1 (patch-ac) = 26ea6fd07f9529fe2af3067d1e704a64157756d0
SHA1 (patch-ae) = 1355886e3aeafe26bb9ec5322235a464ab475993
SHA1 (patch-aj) = 4758ccbabb6a109c3f3da40c3fd5129be1f7bbfd
diff -r 4ff6121a6ecf -r 616592a73b2f net/hobbitmon/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hobbitmon/patches/patch-aa Sat Sep 17 21:31:26 2005 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.3 2005/09/17 21:31:26 minskim Exp $
+
+--- build/test-rrd.c.orig 2004-12-25 03:40:25.000000000 -0800
++++ build/test-rrd.c
+@@ -20,10 +20,11 @@ int main(int argc, char *argv[])
+ char **calcpr=NULL;
+
+ int pcount, result, xsize, ysize;
++ double ymin, ymax;
+
+ for (pcount = 0; (rrdargs[pcount]); pcount++);
+ rrd_clear_error();
+- result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize);
++ result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);
+
+ return 0;
+ }
diff -r 4ff6121a6ecf -r 616592a73b2f net/hobbitmon/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hobbitmon/patches/patch-ac Sat Sep 17 21:31:26 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.3 2005/09/17 21:31:26 minskim Exp $
+
+--- hobbitd/hobbitgraph.c.orig 2005-01-20 03:47:02.000000000 -0800
++++ hobbitd/hobbitgraph.c
+@@ -348,6 +348,7 @@ int main(int argc, char *argv[])
+ DIR *dir;
+ char **calcpr = NULL;
+ int argi, pcount, argcount, rrdargcount, xsize, ysize, result;
++ double ymin, ymax;
+ time_t now;
+ char timestamp[100];
+ char graphtitle[1024];
+@@ -620,7 +621,8 @@ int main(int argc, char *argv[])
+
+ /* All set - generate the graph */
+ rrd_clear_error();
+- result = rrd_graph(rrdargcount, rrdargs, &calcpr, &xsize, &ysize);
++ result = rrd_graph(rrdargcount, rrdargs, &calcpr, &xsize, &ysize,
++ NULL, &ymin, &ymax);
+
+ /* Was it OK ? */
+ if (rrd_test_error() || (result != 0)) {
Home |
Main Index |
Thread Index |
Old Index