]> git.pld-linux.org Git - packages/asterisk.git/blame - asterisk-bristuff-build.patch
- few mohs
[packages/asterisk.git] / asterisk-bristuff-build.patch
CommitLineData
b3826e10 1diff -ur -x '*.c' -x '*.orig' -x configure asterisk-1.4.21.1.new/build_tools/menuselect-deps.in asterisk-1.4.21.1.old/build_tools/menuselect-deps.in
2--- asterisk-1.4.21.1.new/build_tools/menuselect-deps.in 2008-05-06 00:10:05.000000000 +0200
3+++ asterisk-1.4.21.1.old/build_tools/menuselect-deps.in 2008-07-18 08:18:42.813626657 +0200
4@@ -2,6 +2,7 @@
5 CURL=@PBX_CURL@
6 FREETDS=@PBX_FREETDS@
7 GSM=@PBX_GSM@
8+GSMAT=@PBX_GSMAT@
9 GTK=@PBX_GTK@
10 GTK2=@PBX_GTK2@
11 H323=@PBX_H323@
12diff -ur asterisk-1.4.21.1.org/channels/chan_zap.c asterisk-1.4.21.1/channels/chan_zap.c
13--- asterisk-1.4.21.1/channels/chan_zap.c~ 2008-07-18 21:56:54.854339111 +0200
14+++ asterisk-1.4.21.1/channels/chan_zap.c 2008-07-18 22:02:00.487649563 +0200
15@@ -47,6 +47,7 @@
16 <depend>zaptel</depend>
17 <depend>tonezone</depend>
18 <depend>res_features</depend>
19+ <depend>gsmat</depend>
20 <use>pri</use>
21 ***/
22
23diff -ur -x '*.c' -x '*.orig' -x configure asterisk-1.4.21.1.new/channels/.chan_zap.moduleinfo asterisk-1.4.21.1.old/channels/.chan_zap.moduleinfo
24--- asterisk-1.4.21.1.new/channels/.chan_zap.moduleinfo 2008-06-30 18:24:08.000000000 +0200
25+++ asterisk-1.4.21.1.old/channels/.chan_zap.moduleinfo 2008-07-18 08:18:42.808831904 +0200
26@@ -4,5 +4,6 @@
27 <depend>zaptel</depend>
28 <depend>tonezone</depend>
29 <depend>res_features</depend>
30+ <depend>gsmat</depend>
31 <use>pri</use>
32 </member>
33diff -ur -x '*.c' -x '*.orig' -x configure asterisk-1.4.21.1.new/channels/.moduleinfo asterisk-1.4.21.1.old/channels/.moduleinfo
34--- asterisk-1.4.21.1.new/channels/.moduleinfo 2008-06-30 18:24:08.000000000 +0200
35+++ asterisk-1.4.21.1.old/channels/.moduleinfo 2008-07-18 08:18:42.808831904 +0200
36@@ -51,6 +51,7 @@
37 <depend>zaptel</depend>
38 <depend>tonezone</depend>
39 <depend>res_features</depend>
40+ <depend>gsmat</depend>
41 <use>pri</use>
42 </member>
43 <member name="chan_vpb" displayname="Voicetronix API driver" remove_on_change="channels/chan_vpb.oo channels/chan_vpb.so">
44diff -ur -x '*.c' -x '*.orig' -x configure asterisk-1.4.21.1.new/configure.ac asterisk-1.4.21.1.old/configure.ac
45--- asterisk-1.4.21.1.new/configure.ac 2008-07-18 08:18:57.389246988 +0200
46+++ asterisk-1.4.21.1.old/configure.ac 2008-07-18 08:18:42.806528869 +0200
47@@ -504,6 +504,8 @@
48 fi
49 fi
50
51+AST_EXT_LIB_CHECK([GSMAT], [gsmat], [gsm_new_call], [libgsmat.h])
52+
53 AST_EXT_LIB_CHECK([IKSEMEL], [iksemel], [iks_start_sasl], [iksemel.h])
54
55 if test "${PBX_IKSEMEL}" = 1; then
56diff -ur -x '*.c' -x '*.orig' -x configure asterisk-1.4.21.1.new/makeopts.in asterisk-1.4.21.1.old/makeopts.in
57--- asterisk-1.4.21.1.new/makeopts.in 2008-03-11 15:07:59.000000000 +0100
58+++ asterisk-1.4.21.1.old/makeopts.in 2008-07-18 08:18:42.813626657 +0200
59@@ -83,6 +83,9 @@
60 GSM_INCLUDE=@GSM_INCLUDE@
61 GSM_LIB=@GSM_LIB@
62
63+GSMAT_INCLUDE=@GSMAT_INCLUDE@
64+GSMAT_LIB=@GSMAT_LIB@
65+
66 GTK_INCLUDE=@GTK_INCLUDE@
67 GTK_LIB=@GTK_LIB@
68
69diff -ur -x '*.c' -x '*.orig' -x configure asterisk-1.4.21.1.new/menuselect-tree asterisk-1.4.21.1.old/menuselect-tree
70--- asterisk-1.4.21.1.new/menuselect-tree 2008-06-30 18:24:08.000000000 +0200
71+++ asterisk-1.4.21.1.old/menuselect-tree 2008-07-18 08:18:42.813626657 +0200
72@@ -251,6 +251,7 @@
73 <depend>zaptel</depend>
74 <depend>tonezone</depend>
75 <depend>res_features</depend>
76+ <depend>gsmat</depend>
77 <use>pri</use>
78 </member>
79 <member name="chan_vpb" displayname="Voicetronix API driver" remove_on_change="channels/chan_vpb.oo channels/chan_vpb.so">
80--- asterisk-1.4.21.1/configure.ac~ 2008-07-20 18:07:54.188016698 +0200
81+++ asterisk-1.4.21.1/configure.ac 2008-07-20 18:09:56.831337972 +0200
82@@ -178,7 +178,7 @@
83 AST_EXT_LIB_SETUP([CURSES], [curses], [curses])
84 AST_EXT_LIB_SETUP([GNUTLS], [GNU TLS support (used for iksemel only)], [gnutls])
85 AST_EXT_LIB_SETUP([GSM], [GSM], [gsm], [, or 'internal'])
86-AST_EXT_LIB_SETUP([GSMAT], [GSMAT], [GSM AT command signalling], [gsmat])
87+AST_EXT_LIB_SETUP([GSMAT], [GSM AT command signalling], [gsmat])
88 AST_EXT_LIB_SETUP([IKSEMEL], [Iksemel Jabber Library], [iksemel])
89 AST_EXT_LIB_SETUP([IMAP_TK], [UW IMAP Toolkit], [imap])
90 AST_EXT_LIB_SETUP([ISDNNET], [ISDN4Linux Library], [isdnnet])
91--- asterisk/channels/chan_zap.c~ 2008-07-20 18:15:39.464637514 +0200
92+++ asterisk/channels/chan_zap.c 2008-07-20 21:38:13.280088092 +0200
93@@ -7573,7 +7573,7 @@
94 }
95 #endif
96 #ifdef HAVE_GSMAT
97- if (conf->chan.sig == SIG_GSM) {
98+ if (chan_sig == SIG_GSM) {
99 struct zt_bufferinfo bi;
100 ast_mutex_init(&tmp->gsm.lock);
101 strncpy(tmp->gsm.pin, gsm_modem_pin, sizeof(tmp->gsm.pin) - 1);
102--- asterisk/channels/chan_zap.c~ 2008-07-20 21:39:17.274665128 +0200
103+++ asterisk/channels/chan_zap.c 2008-07-20 22:18:57.866822681 +0200
104@@ -743,9 +743,7 @@
105 .send_digit_begin = zt_digit_begin,
106 .send_digit_end = zt_digit_end,
107 .send_text = zt_sendtext,
108-#if 0 /* we (Debian) disable that addition because of ABI breakage */
109 .send_message = zt_sendmessage,
110-#endif
111 .call = zt_call,
112 .hangup = zt_hangup,
113 .answer = zt_answer,
114--- asterisk/include/asterisk/channel.h~ 2008-07-20 22:20:30.489834448 +0200
115+++ asterisk/include/asterisk/channel.h 2008-07-20 22:24:21.859824471 +0200
116@@ -250,10 +250,8 @@
117 /*! \brief Display or transmit text */
118 int (* const send_text)(struct ast_channel *chan, const char *text);
119
120-#if 0 /* we (Debian) disable that addition because of ABI breakage */
121 /*! \brief send a message */
122 int (* const send_message)(struct ast_channel *chan, const char *dest, const char *text, int ispdu);
123-#endif
124
125 /*! \brief Display or send an image */
126 int (* const send_image)(struct ast_channel *chan, struct ast_frame *frame);
127--- asterisk/main/channel.c~ 2008-07-20 22:20:30.489834448 +0200
128+++ asterisk/main/channel.c 2008-07-20 22:25:38.689861614 +0200
129@@ -2496,10 +2496,8 @@
130 if (ast_test_flag(chan, AST_FLAG_ZOMBIE) || ast_check_hangup(chan))
131 return -1;
132 CHECK_BLOCKING(chan);
133-#if 0 /* we (Debian) disable that addition because of ABI breakage */
134 if (chan->tech->send_message)
135 res = chan->tech->send_message(chan, dest, text, ispdu);
136-#endif
137 ast_clear_flag(chan, AST_FLAG_BLOCKING);
138 return res;
139 }
This page took 0.464267 seconds and 4 git commands to generate.