summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorminskim <minskim>2005-09-17 21:31:26 +0000
committerminskim <minskim>2005-09-17 21:31:26 +0000
commit6eca123f03c439efd0772c32eacfc1a8ba337de6 (patch)
tree88ea16cf82bb9352ef32abad1ba9f7cff01683a6 /net
parent30ebc000e36159b04edaccc443155fb929bc94f9 (diff)
downloadpkgsrc-6eca123f03c439efd0772c32eacfc1a8ba337de6.tar.gz
Make this package build with rrdtool-1.2.x.
Diffstat (limited to 'net')
-rw-r--r--net/hobbitmon/distinfo4
-rw-r--r--net/hobbitmon/patches/patch-aa17
-rw-r--r--net/hobbitmon/patches/patch-ac22
3 files changed, 42 insertions, 1 deletions
diff --git a/net/hobbitmon/distinfo b/net/hobbitmon/distinfo
index 7b3d7486924..7d2cf6eef09 100644
--- a/net/hobbitmon/distinfo
+++ b/net/hobbitmon/distinfo
@@ -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 --git a/net/hobbitmon/patches/patch-aa b/net/hobbitmon/patches/patch-aa
new file mode 100644
index 00000000000..f6153c4cb9e
--- /dev/null
+++ b/net/hobbitmon/patches/patch-aa
@@ -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 --git a/net/hobbitmon/patches/patch-ac b/net/hobbitmon/patches/patch-ac
new file mode 100644
index 00000000000..47a7799f3d6
--- /dev/null
+++ b/net/hobbitmon/patches/patch-ac
@@ -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)) {