Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2014 12:03:34 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365177 - in head/net/belle-sip: . files
Message-ID:  <201408171203.s7HC3YRp071450@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Aug 17 12:03:33 2014
New Revision: 365177
URL: http://svnweb.freebsd.org/changeset/ports/365177
QAT: https://qat.redports.org/buildarchive/r365177/

Log:
  - 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)

Added:
  head/net/belle-sip/files/patch-src_dns.c   (contents, props changed)
Modified:
  head/net/belle-sip/Makefile

Modified: head/net/belle-sip/Makefile
==============================================================================
--- head/net/belle-sip/Makefile	Sun Aug 17 11:45:20 2014	(r365176)
+++ head/net/belle-sip/Makefile	Sun Aug 17 12:03:33 2014	(r365177)
@@ -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
 

Added: head/net/belle-sip/files/patch-src_dns.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/belle-sip/files/patch-src_dns.c	Sun Aug 17 12:03:33 2014	(r365177)
@@ -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;
+ 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408171203.s7HC3YRp071450>