#! /bin/sh /usr/share/dpatch/dpatch-run
## 08_Format.pm.x86_64.dpatch by Tapio Heiskanen.
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: New patch generated from cricket 1.0.5-4 diff.gz

@DPATCH@


--- cricket-1.0.5.orig/lib/RRD/Format.pm	2006-10-07 23:07:32.000000000 +0300
+++ cricket-1.0.5/lib/RRD/Format.pm	2006-10-07 23:04:48.000000000 +0300
@@ -159,6 +159,16 @@
         $self->{'liveHead'} = "Q";
         $self->{'rraPtr'} = "Q";
         $self->{'element'} = "d";
+    } elsif ( $archname =~ /^x86_64-linux/ ) {
+        $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->{'liveHead'} = "Q Q";
+        $self->{'liveHead3'} = "Q Q";
+        $self->{'pdpDef'} = "a30 x2 Q d x64";
+        $self->{'cdpDef'} = "d Q x64";
+        $self->{'rraPtr'} = "Q";
+        $self->{'element'} = "d";
     } elsif ( $archname eq 'sparc64-netbsd' ) {
         $self->{'statHead'} = "a4 a5 x7 d Q Q Q x80";
         $self->{'dsDef'} = "a20 a20 Q d d x56";
