summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-05-04 10:51:02 +0000
committerRene Ladan <rene@FreeBSD.org>2014-05-04 10:51:02 +0000
commit32e92194b7278e4656bb4581bbdec8b4cfec766b (patch)
treedc2a77fb28bb97e39d913fa8c2e661b6e3af9bd3 /net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c
parentRemove expired port: (diff)
Remove expired ports:
2014-04-30 x11-toolkits/gigi: Does not compile on 10 or higher 2014-04-30 net/asterisk-oh323: Depends on broken and unsupported asterisk14 2014-04-30 net/asterisk14: Broken and unsupported 2014-04-30 net/asterisk14-addons: Depends on broken and unsupported asterisk14 2014-04-30 ports-mgmt/pkg_install: Replaced by ports-mgmt/pkg 2014-05-01 x11-drivers/xf86-input-magictouch: Does not compile 2014-05-01 x11-drivers/xf86-video-cyrix: requires pciVideoPtr typedef 2014-05-01 x11-drivers/xf86-video-sis-intel: requires pciVideoPtr typedef 2014-05-01 net/py-spreadmodule: Depends on expired net/spread 2014-05-01 net/p5-Spread-Message: Depends on expired net/spread 2014-05-01 net/p5-POE-Component-Spread: Depends on expired net/spread 2014-05-01 net/p5-Spread-Session: Depends on expired net/spread 2014-05-01 sysutils/wmmemload: Broken 2014-05-01 lang/ml-pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 lang/treecc: PNET dependency decommissioned Dec 2012 2014-05-01 lang/pnetlib: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 lang/pnet-base: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 benchmarks/pnetmark: PNET dependency decommissioned Dec 2012 2014-05-01 lang/pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 x11-wm/stumpwm: Broken for more than 4 months 2014-05-01 sysutils/cpupowerd: Not maintained from upstream anymore and only supports ancient AMD K8. 2014-05-01 net/pchar: Obsolete, abandoned 2014-05-03 x11-fonts/texcm-ttf: Should be replaced by x11-fonts/stix-fonts
Notes
Notes: svn path=/head/; revision=352941
Diffstat (limited to 'net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c')
-rw-r--r--net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c94
1 files changed, 0 insertions, 94 deletions
diff --git a/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c b/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c
deleted file mode 100644
index 58f0a863a327..000000000000
--- a/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c
+++ /dev/null
@@ -1,94 +0,0 @@
-
-$FreeBSD$
-
---- asterisk-driver/chan_oh323.c.orig
-+++ asterisk-driver/chan_oh323.c
-@@ -34,6 +34,7 @@
- #include <string.h>
- #include <sys/socket.h>
- #include <sys/time.h>
-+#include <stdio.h>
- #include <errno.h>
- #include <unistd.h>
- #include <stdlib.h>
-@@ -43,6 +44,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <math.h>
-+#include <netinet/in_systm.h>
- #include <netinet/ip.h>
- #include <sys/signal.h>
-
-@@ -83,6 +85,8 @@
- #include "asterisk/threadstorage.h"
- #include "asterisk/translate.h"
-
-+#define CRASH abort()
-+
- #include "wrapper.hxx"
- #include "oh323.h"
-
-@@ -954,8 +958,8 @@
- static void oh323_format2codecset(int, int *, int);
- static int context_from_alias(char *, char **);
- static int context_from_prefix(char *, char **);
--static int oh323_release(void *);
--static int oh323_exec_request(void *data);
-+static int oh323_release(const void *);
-+static int oh323_exec_request(const void *data);
- static struct oh323_ep *find_oh323_ep(char *epname, char *host, char *user);
- void oh323_atexit(void);
- unsigned int generate_uid(void);
-@@ -1595,6 +1599,8 @@
- ast_log(LOG_DEBUG, "%s: Call progress.\n", c->name);
- p->fr.frametype = AST_FRAME_CONTROL;
- p->fr.subclass = AST_CONTROL_PROGRESS;
-+/* The code below is broken with asterisk 1.4.23.1 */
-+#if 0
- /* -- Call transfer */
- } else if (e->type == OH323EXC_CALL_TRANSFER) {
- /* XXX Asterisk MUST read first the frame returned by this exception
-@@ -1608,6 +1614,7 @@
- memcpy(c->dtmfq, e->data, strlen(e->data));
- write(p->event_pipe[1], notify_buf, 1);
- }
-+#endif
- /* -- Call establishment notification */
- } else if (e->type == OH323EXC_CALL_ESTABLISHED) {
- memset(p->rtp.local_addr, 0, sizeof(p->rtp.local_addr));
-@@ -4110,7 +4117,7 @@
- /******************************************************************************/
- /* Monitoring thread and queue call-back functions ****************************/
-
--static int oh323_exec_request(void *data)
-+static int oh323_exec_request(const void *data)
- {
- struct request_oh323 *e;
- int res, i;
-@@ -4217,7 +4224,7 @@
- return(0);
- }
-
--static int oh323_release(void *data)
-+static int oh323_release(const void *data)
- {
- struct chan_oh323_pvt *pvt = (struct chan_oh323_pvt *)data;
- int index;
-@@ -4240,7 +4247,7 @@
- return(0);
- }
-
--static int oh323_gk_check(void *data)
-+static int oh323_gk_check(const void *data)
- {
- char gkname[256];
-
-@@ -4443,7 +4450,7 @@
- return(-1);
- }
- }
-- monitor_thread = -2;
-+ monitor_thread = AST_PTHREADT_STOP;
- } else {
- ast_log(LOG_WARNING, "Unable to lock the monitor.\n");
- return(-1);