summaryrefslogtreecommitdiffstats
path: root/net-mgmt/cricket/files/patch-lib-RRD-Format.pm
blob: 7506c0c58bac75d52aa3c25498860095d2d79be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- 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";
         $self->{'pdpDef'} = "a30 x2 L x4 d x64";
+	$self->{"liveHead3"} = "L L";
         $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)
OpenPOWER on IntegriCloud