1.1 --- a/asterisk/asterisk.patch Sun Oct 28 23:53:41 2012 +0100 1.2 +++ b/asterisk/asterisk.patch Tue Jan 08 20:08:32 2013 +0100 1.3 @@ -410,10 +410,10 @@ 1.4 1.5 /* Unique ID */ 1.6 if (!rc_avpair_add(rh, tosend, PW_ACCT_SESSION_ID, &cdr->uniqueid, strlen(cdr->uniqueid), 0)) 1.7 -Index: chan_capi-1.1.5.20120615/chan_capi20.h 1.8 -diff -Nau chan_capi-1.1.5.20120615/chan_capi20.h.orig chan_capi-1.1.5.20120615/chan_capi20.h 1.9 ---- chan_capi-1.1.5.20120615/chan_capi20.h.orig 2005-09-20 20:33:40.000000000 +0200 1.10 -+++ chan_capi-1.1.5.20120615/chan_capi20.h 2012-03-18 17:47:07.888451260 +0100 1.11 +Index: chan_capi-1.1.6/chan_capi20.h 1.12 +diff -Nau chan_capi-1.1.6/chan_capi20.h.orig chan_capi-1.1.6/chan_capi20.h 1.13 +--- chan_capi-1.1.6/chan_capi20.h.orig 2005-09-20 20:33:40.000000000 +0200 1.14 ++++ chan_capi-1.1.6/chan_capi20.h 2012-03-18 17:47:07.888451260 +0100 1.15 @@ -4,10 +4,13 @@ 1.16 * first. Else the checks below will fail. 1.17 */ 1.18 @@ -437,10 +437,10 @@ 1.19 #ifndef HEADER_CID 1.20 #define HEADER_CID(x) ((x)->adr.adrNCCI) 1.21 #endif 1.22 -Index: chan_capi-1.1.5.20120615/chan_capi_utils.c 1.23 -diff -Nau chan_capi-1.1.5.20120615/chan_capi_utils.c.orig chan_capi-1.1.5.20120615/chan_capi_utils.c 1.24 ---- chan_capi-1.1.5.20120615/chan_capi_utils.c.orig 2011-08-07 16:31:05.000000000 +0200 1.25 -+++ chan_capi-1.1.5.20120615/chan_capi_utils.c 2012-03-18 17:47:07.888451260 +0100 1.26 +Index: chan_capi-1.1.6/chan_capi_utils.c 1.27 +diff -Nau chan_capi-1.1.6/chan_capi_utils.c.orig chan_capi-1.1.6/chan_capi_utils.c 1.28 +--- chan_capi-1.1.6/chan_capi_utils.c.orig 2011-08-07 16:31:05.000000000 +0200 1.29 ++++ chan_capi-1.1.6/chan_capi_utils.c 2012-03-18 17:47:07.888451260 +0100 1.30 @@ -1160,6 +1160,9 @@ 1.31 { 1.32 MESSAGE_EXCHANGE_ERROR error; 1.33 @@ -451,10 +451,10 @@ 1.34 unsigned char manbuf[CAPI_MANUFACTURER_LEN]; 1.35 _cmsg CMSG; 1.36 1.37 -Index: chan_capi-1.1.5.20120615/libcapi20/capi20.c 1.38 -diff -Nau chan_capi-1.1.5.20120615/libcapi20/capi20.c.orig chan_capi-1.1.5.20120615/libcapi20/capi20.c 1.39 ---- chan_capi-1.1.5.20120615/libcapi20/capi20.c.orig 2010-02-17 20:10:53.000000000 +0100 1.40 -+++ chan_capi-1.1.5.20120615/libcapi20/capi20.c 2012-03-18 17:47:07.888451260 +0100 1.41 +Index: chan_capi-1.1.6/libcapi20/capi20.c 1.42 +diff -Nau chan_capi-1.1.6/libcapi20/capi20.c.orig chan_capi-1.1.6/libcapi20/capi20.c 1.43 +--- chan_capi-1.1.6/libcapi20/capi20.c.orig 2010-02-17 20:10:53.000000000 +0100 1.44 ++++ chan_capi-1.1.6/libcapi20/capi20.c 2012-03-18 17:47:07.888451260 +0100 1.45 @@ -19,8 +19,10 @@ 1.46 #include <stdio.h> 1.47 #include <ctype.h> 1.48 @@ -748,10 +748,10 @@ 1.49 } 1.50 /* 1.51 * functions added to the CAPI2.0 spec 1.52 -Index: chan_capi-1.1.5.20120615/libcapi20/convert.c 1.53 -diff -Nau chan_capi-1.1.5.20120615/libcapi20/convert.c.orig chan_capi-1.1.5.20120615/libcapi20/convert.c 1.54 ---- chan_capi-1.1.5.20120615/libcapi20/convert.c.orig 2010-09-14 21:54:25.000000000 +0200 1.55 -+++ chan_capi-1.1.5.20120615/libcapi20/convert.c 2012-03-18 17:47:07.888451260 +0100 1.56 +Index: chan_capi-1.1.6/libcapi20/convert.c 1.57 +diff -Nau chan_capi-1.1.6/libcapi20/convert.c.orig chan_capi-1.1.6/libcapi20/convert.c 1.58 +--- chan_capi-1.1.6/libcapi20/convert.c.orig 2010-09-14 21:54:25.000000000 +0200 1.59 ++++ chan_capi-1.1.6/libcapi20/convert.c 2012-03-18 17:47:07.888451260 +0100 1.60 @@ -11,7 +11,14 @@ 1.61 #include <stddef.h> 1.62 #include <time.h> 1.63 @@ -767,10 +767,10 @@ 1.64 1.65 #include "capi20.h" 1.66 1.67 -Index: chan_capi-1.1.5.20120615/Makefile 1.68 -diff -Nau chan_capi-1.1.5.20120615/Makefile.orig chan_capi-1.1.5.20120615/Makefile 1.69 ---- chan_capi-1.1.5.20120615/Makefile.orig 2011-02-04 18:41:46.000000000 +0100 1.70 -+++ chan_capi-1.1.5.20120615/Makefile 2012-03-18 17:47:07.888451260 +0100 1.71 +Index: chan_capi-1.1.6/Makefile 1.72 +diff -Nau chan_capi-1.1.6/Makefile.orig chan_capi-1.1.6/Makefile 1.73 +--- chan_capi-1.1.6/Makefile.orig 2011-02-04 18:41:46.000000000 +0100 1.74 ++++ chan_capi-1.1.6/Makefile 2012-03-18 17:47:07.888451260 +0100 1.75 @@ -115,6 +115,9 @@ 1.76 CFLAGS+=-O2 1.77 CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)