packages/net/asterisk-addons-1.4.x/patches/031-pthread_param.patch
agb cbee4e0946 Update asterisk-addons-1.4.x to 1.4.7
Requires a patch to pthread call.

Signed-off-by: Michael Geddes <michael at frog dot wheelycreek dot net>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 03:37:49 +00:00

20 lines
613 B
Diff

*** asterisk-addons-1.4.7/channels/ooh323c/src/ooCmdChannel.c.orig 2008-06-27 18:12:50.000000000 +0800
--- asterisk-addons-1.4.7/channels/ooh323c/src/ooCmdChannel.c 2008-06-27 18:12:11.000000000 +0800
***************
*** 37,43 ****
if ((ret = pipe(thePipe)) == -1) {
return OO_FAILED;
}
! pthread_mutex_init(&gCmdChanLock);
gH323ep.cmdSock = dup(thePipe[0]);
close(thePipe[0]);
--- 37,43 ----
if ((ret = pipe(thePipe)) == -1) {
return OO_FAILED;
}
! pthread_mutex_init(&gCmdChanLock, NULL);
gH323ep.cmdSock = dup(thePipe[0]);
close(thePipe[0]);