diff options
author | brent s | 2017-06-21 20:54:27 -0400 |
---|---|---|
committer | brent s | 2017-06-21 20:54:27 -0400 |
commit | 05222b9388299d77af225068548ba113d4728ae0 (patch) | |
tree | d654f2be23ca8da802193ce7da6ce3311e9788bc /freeswitch-arch.patch | |
parent | c08db84c3b6c4f986afdd50cb86344975a22e084 (diff) | |
download | aur-05222b9388299d77af225068548ba113d4728ae0.tar.gz |
updating to 1.6.17
Diffstat (limited to 'freeswitch-arch.patch')
-rw-r--r-- | freeswitch-arch.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/freeswitch-arch.patch b/freeswitch-arch.patch new file mode 100644 index 000000000000..c72da4f7f467 --- /dev/null +++ b/freeswitch-arch.patch @@ -0,0 +1,37 @@ +# Thanks, mal! [https://aur.archlinux.org/account/mal] +diff -ura freeswitch-orig/src/switch_ivr_play_say.c freeswitch/src/switch_ivr_play_say.c +--- freeswitch-orig/src/switch_ivr_play_say.c 2017-06-16 02:59:16.014037406 -0400 ++++ freeswitch/src/switch_ivr_play_say.c 2017-06-16 03:05:49.060484516 -0400 +@@ -1665,7 +1665,7 @@ + } + } + +- buflen = FILE_STARTSAMPLES * sizeof(*abuf) * fh->cur_channels ? fh->cur_channels : fh->channels; ++ buflen = FILE_STARTSAMPLES * sizeof(*abuf) * (fh->cur_channels ? fh->cur_channels : fh->channels); + + if (buflen > write_frame.buflen) { + abuf = realloc(abuf, buflen); +diff -ura freeswitch-orig/libs/esl/fs_cli.c freeswitch/libs/esl/fs_cli.c +--- freeswitch-orig/libs/esl/fs_cli.c 2017-06-21 12:52:54.490320046 -0400 ++++ freeswitch/libs/esl/fs_cli.c 2017-06-21 12:49:53.456699573 -0400 +@@ -76,7 +76,7 @@ + static int warn_stop = 0; + static int connected = 0; + static int allow_ctl_c = 0; +-static char bare_prompt_str[512] = ""; ++static char bare_prompt_str[514] = ""; + static int bare_prompt_str_len = 0; + static char prompt_str[512] = ""; + static char prompt_color[12] = {ESL_SEQ_DEFAULT_COLOR}; +diff -ura freeswitch-orig/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c freeswitch/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c +--- freeswitch-orig/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c 2017-06-21 15:55:33.568293668 -0400 ++++ freeswitch/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c 2017-06-21 15:56:42.057160786 -0400 +@@ -2017,7 +2017,7 @@ + for (last = h; last->sh_succ; last = last->sh_succ) { + /* Ensure that chain is connected */ + assert(last->sh_next == last->sh_succ); +- assert(last->sh_succ->sh_prev = &last->sh_succ); ++ assert(last->sh_succ->sh_prev == &last->sh_succ); + } + prev = &last->sh_succ; + } |