summaryrefslogtreecommitdiff
path: root/package/asterisk/patches/patch-main_translate_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-31 15:30:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-31 15:30:33 +0100
commitf5b49128645669ad0bb2a73a47d76003ab4d5dc8 (patch)
treed8335acc0d36874ded72f655335a1b14e7779aab /package/asterisk/patches/patch-main_translate_c
parent8b96e301c638ee8a434cbdb2599d8ec4ed124eb5 (diff)
update asterisk to latest upstream
unfortunately asterisk 1.4.x just segfaults on startup on mips board. 1.6.x works out of the box, so update to latest version.
Diffstat (limited to 'package/asterisk/patches/patch-main_translate_c')
-rw-r--r--package/asterisk/patches/patch-main_translate_c11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/asterisk/patches/patch-main_translate_c b/package/asterisk/patches/patch-main_translate_c
deleted file mode 100644
index 36d7c3058..000000000
--- a/package/asterisk/patches/patch-main_translate_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- asterisk-1.4.27.1.orig/main/translate.c 2009-10-21 18:44:49.000000000 +0200
-+++ asterisk-1.4.27.1/main/translate.c 2009-12-03 20:53:36.000000000 +0100
-@@ -442,7 +442,7 @@ static void rebuild_matrix(int samples)
- if (option_debug)
- ast_log(LOG_DEBUG, "Resetting translation matrix\n");
-
-- bzero(tr_matrix, sizeof(tr_matrix));
-+ memset(tr_matrix, 0, sizeof(tr_matrix));
-
- /* first, compute all direct costs */
- AST_LIST_TRAVERSE(&translators, t, list) {