Date: Sun, 31 Jan 2010 20:57:29 GMT From: András Jákó <jako.andras@eik.bme.hu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143412: cricket doesn't work on amd64 Message-ID: <201001312057.o0VKvTZr059142@www.freebsd.org> Resent-Message-ID: <201001312100.o0VL091v094570@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143412 >Category: ports >Synopsis: cricket doesn't work on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 31 21:00:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: András Jákó >Release: 8.0-STABLE >Organization: BME >Environment: FreeBSD r-noc.net.bme.hu 8.0-STABLE FreeBSD 8.0-STABLE #20: Sun Jan 31 13:33:02 CET 2010 root@splash.eik.bme.hu:/usr/obj/usr/src/sys/SPLASH amd64 >Description: net-mgmt/cricket does not work on amd64. Error messages on the web pages generated by cricket: Current values not available: Architecture amd64-freebsd not supported yet. Current values not available: RRD file version 0003 not supported on this arch. >How-To-Repeat: Install net-mgmt/cricket on amd64. >Fix: cricket/lib/RRD/Format.pm needs to be updated. http://www.tc.mtu.edu/~jfb/cricket.html Patch attached with submission follows: --- cricket/lib/RRD/Format.pm.orig 2010-01-31 17:05:00.000000000 +0100 +++ cricket/lib/RRD/Format.pm 2010-01-31 21:33:55.000000000 +0100 @@ -128,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) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001312057.o0VKvTZr059142>