#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_debian-patch.dpatch by Christian Marillat <marillat@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix wrong OID.

@DPATCH@

--- cricket-1.0.5.orig/lib/RRD/Format.pm	2007-03-31 00:47:32.000000000 +0200
+++ cricket-1.0.5/lib/RRD/Format.pm	2007-03-31 00:48:18.000000000 +0200
@@ -122,7 +122,8 @@
         $self->{'pdpDef'} = "a30 x2 L x4 d x64";
         $self->{'cdpDef'} = "d L x4 x64";
 
-        $self->{'liveHead'} = "L";
+        $self->{'liveHead'} = "L L";
+        $self->{'liveHead3'} = "L L";
         $self->{'rraPtr'} = "L";
         $self->{'element'} = "d";
 
@@ -150,7 +151,7 @@
         $self->{'liveHead'} = "L";
         $self->{'rraPtr'} = "L";
         $self->{'element'} = "d";
-    } elsif ( $archname eq 'alpha-linux' ) {
+    } elsif ( $archname eq 'alpha-linux' or $archname eq 'alpha-linux-gnu') {
         $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";
