aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cricket
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2010-06-30 07:54:04 +0000
committerStefan Walter <stefan@FreeBSD.org>2010-06-30 07:54:04 +0000
commitaf2d51d8b64033c58e6b868d656f01972bf2f53d (patch)
tree7a5e4b1191524b125cd5b0ecf15cff5e36e275ce /net-mgmt/cricket
parent2266315b3cfb8609b173719f9d27f218521b6f4b (diff)
downloadports-af2d51d8b64033c58e6b868d656f01972bf2f53d.tar.gz
ports-af2d51d8b64033c58e6b868d656f01972bf2f53d.zip
Notes
Diffstat (limited to 'net-mgmt/cricket')
-rw-r--r--net-mgmt/cricket/Makefile2
-rw-r--r--net-mgmt/cricket/files/patch-lib-RRD-Format.pm24
2 files changed, 23 insertions, 3 deletions
diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile
index 87d4e670423e..b005269a1a53 100644
--- a/net-mgmt/cricket/Makefile
+++ b/net-mgmt/cricket/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cricket
PORTVERSION= 1.0.5
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= net-mgmt
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}
diff --git a/net-mgmt/cricket/files/patch-lib-RRD-Format.pm b/net-mgmt/cricket/files/patch-lib-RRD-Format.pm
index 96737a7e2738..7506c0c58bac 100644
--- a/net-mgmt/cricket/files/patch-lib-RRD-Format.pm
+++ b/net-mgmt/cricket/files/patch-lib-RRD-Format.pm
@@ -1,5 +1,5 @@
---- lib/RRD/Format.pm.orig Wed Jan 21 05:11:09 2004
-+++ lib/RRD/Format.pm Thu Dec 15 13:44:36 2005
+--- lib/RRD/Format.pm.orig 2010-06-30 09:34:19.000000000 +0200
++++ lib/RRD/Format.pm 2010-06-30 09:36:16.000000000 +0200
@@ -120,6 +120,7 @@
$self->{'dsDef'} = "a20 a20 L x4 d d x56";
$self->{'rraDef'} = "a20 L L d x72";
@@ -8,3 +8,23 @@
$self->{'cdpDef'} = "d L x4 x64";
$self->{'liveHead'} = "L";
+@@ -127,6 +128,19 @@
+ $self->{'element'} = "d";
+
+ return 1;
++ } elsif ($archname eq 'amd64-freebsd') {
++
++ $self->{'statHead'} = "a4 a5 x7 d Q Q Q x80";
++ $self->{'dsDef'} = "a20 a20 Q d d x56";
++ $self->{'rraDef'} = "a20 x4 Q Q d x72";
++ $self->{'pdpDef'} = "a30 x2 Q d x64";
++ $self->{'cdpDef'} = "d Q x64";
++ $self->{'liveHead'} = "Q";
++ $self->{'rraPtr'} = "Q";
++ $self->{'element'} = "d";
++ $self->{'liveHead3'} = "Q Q";
++
++ return 1;
+ } elsif ( $archname eq 'alpha-dec_osf') {
+ # Thanks to Melissa D. Binde <binde@amazon.com> for
+ # finding this (and a major foobar in getFormat.c)