1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- Add patch to initialise a struct before calling res_ninit [1]

- Remove --enable-debug because it doesn't do anything

PR:		192648
Submitted by:	Dom F <freebsd@talk2dom.com> [1]
Approved by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
This commit is contained in:
Tijl Coosemans 2014-08-17 12:03:33 +00:00
parent 49cf300a11
commit 9c41e6e87c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365177
2 changed files with 12 additions and 6 deletions

View File

@ -2,8 +2,8 @@
PORTNAME= belle-sip
PORTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= net
PORTREVISION= 2
CATEGORIES= net java
MASTER_SITES= SAVANNAH/linphone/${PORTNAME}/:source1 \
http://www.antlr3.org/download/:source2
DISTFILES= belle-sip-1.3.0.tar.gz:source1 \
@ -35,10 +35,6 @@ OPTIONS_DEFAULT=POLARSSL
POLARSSL_CONFIGURE_ENABLE= tls
POLARSSL_LIB_DEPENDS= libpolarssl.so:${PORTSDIR}/security/polarssl
.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif
post-extract:
@${CP} ${DISTDIR}/antlr-3.4-complete.jar ${WRKDIR}/antlr-complete.jar

View File

@ -0,0 +1,10 @@
--- src/dns.c.orig 2014-08-16 15:34:00.457977967 +0600
+++ src/dns.c 2014-08-16 15:34:32.647973864 +0600
@@ -4306,6 +4306,7 @@
union res_sockaddr_union addresses[3];
int i,error;
+ bzero(&res, sizeof(res));
if ((error = res_ninit(&res))) {
return error;
}