mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix build with latest asterisk.
Reported by: Rodrigo Graeff
This commit is contained in:
parent
f9a2ddc2ef
commit
4ce2ba14d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218979
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= asterisk-oh323
|
||||
PORTVERSION= 0.7.3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.b2bua.org/chrome/site/
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
--- asterisk-driver/chan_oh323.c.orig 2008-03-20 16:49:39.000000000 +0200
|
||||
+++ asterisk-driver/chan_oh323.c 2008-03-20 18:29:13.000000000 +0200
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- asterisk-driver/chan_oh323.c.orig
|
||||
+++ asterisk-driver/chan_oh323.c
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
@ -16,7 +19,16 @@
|
||||
#include <netinet/ip.h>
|
||||
#include <sys/signal.h>
|
||||
|
||||
@@ -954,8 +956,8 @@
|
||||
@@ -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 **);
|
||||
@ -27,7 +39,7 @@
|
||||
static struct oh323_ep *find_oh323_ep(char *epname, char *host, char *user);
|
||||
void oh323_atexit(void);
|
||||
unsigned int generate_uid(void);
|
||||
@@ -4110,7 +4112,7 @@
|
||||
@@ -4110,7 +4114,7 @@
|
||||
/******************************************************************************/
|
||||
/* Monitoring thread and queue call-back functions ****************************/
|
||||
|
||||
@ -36,7 +48,7 @@
|
||||
{
|
||||
struct request_oh323 *e;
|
||||
int res, i;
|
||||
@@ -4217,7 +4219,7 @@
|
||||
@@ -4217,7 +4221,7 @@
|
||||
return(0);
|
||||
}
|
||||
|
||||
@ -45,7 +57,7 @@
|
||||
{
|
||||
struct chan_oh323_pvt *pvt = (struct chan_oh323_pvt *)data;
|
||||
int index;
|
||||
@@ -4240,7 +4242,7 @@
|
||||
@@ -4240,7 +4244,7 @@
|
||||
return(0);
|
||||
}
|
||||
|
||||
@ -54,7 +66,7 @@
|
||||
{
|
||||
char gkname[256];
|
||||
|
||||
@@ -4443,7 +4445,7 @@
|
||||
@@ -4443,7 +4447,7 @@
|
||||
return(-1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user