From a50fdbd9146b48006f82f69422e9c475d52a14d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 15 Aug 2011 15:51:05 +0300 Subject: main/dahdi-linux-vserver: fix build error --- main/dahdi-linux-vserver/zaphfc-dahdi-2.5.0.patch | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'main/dahdi-linux-vserver/zaphfc-dahdi-2.5.0.patch') diff --git a/main/dahdi-linux-vserver/zaphfc-dahdi-2.5.0.patch b/main/dahdi-linux-vserver/zaphfc-dahdi-2.5.0.patch index 37a1e76ba..883a63484 100644 --- a/main/dahdi-linux-vserver/zaphfc-dahdi-2.5.0.patch +++ b/main/dahdi-linux-vserver/zaphfc-dahdi-2.5.0.patch @@ -1,8 +1,16 @@ Index: dahdi-linux-2.5.0/drivers/dahdi/zaphfc.c =================================================================== ---- dahdi-linux-2.5.0.orig/drivers/dahdi/zaphfc.c 2011-08-15 14:29:51.000000000 +0300 -+++ dahdi-linux-2.5.0/drivers/dahdi/zaphfc.c 2011-08-15 14:30:11.000000000 +0300 -@@ -616,7 +616,7 @@ +--- dahdi-linux-2.5.0.orig/drivers/dahdi/zaphfc.c 2011-08-15 15:49:47.000000000 +0300 ++++ dahdi-linux-2.5.0/drivers/dahdi/zaphfc.c 2011-08-15 15:50:07.000000000 +0300 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include "zaphfc.h" + +@@ -616,7 +617,7 @@ return 0; } @@ -11,7 +19,7 @@ Index: dahdi-linux-2.5.0/drivers/dahdi/zaphfc.c struct dahdi_hfc *zthfc = container_of(span, struct dahdi_hfc, span); struct hfc_card *hfctmp = zthfc->card; int alreadyrunning; -@@ -653,12 +653,12 @@ +@@ -653,12 +654,12 @@ return 0; } @@ -26,7 +34,7 @@ Index: dahdi-linux-2.5.0/drivers/dahdi/zaphfc.c span->lineconfig = lc->lineconfig; return 0; } -@@ -699,7 +699,6 @@ +@@ -699,7 +700,6 @@ zthfc->span.deflaw = DAHDI_LAW_ALAW; zthfc->span.linecompat = DAHDI_CONFIG_AMI | DAHDI_CONFIG_CCS; // <--- this is really BS zthfc->span.offset = 0; -- cgit v1.2.3