Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2016 18:01:29 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418726 - in head/net/asterisk13: . files
Message-ID:  <201607181801.u6II1Tia056646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Mon Jul 18 18:01:29 2016
New Revision: 418726
URL: https://svnweb.freebsd.org/changeset/ports/418726

Log:
  FreeBSD's regexec() libc function is more restrictive than the linux
  one and will not accept an empty expression.
  
  Add patch (from PR) to fix this problem.
  
  PR:		211187
  Submitted by:	Dmitry Vagin <daemon.hammer at ya.ru>

Added:
  head/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c   (contents, props changed)
Modified:
  head/net/asterisk13/Makefile

Modified: head/net/asterisk13/Makefile
==============================================================================
--- head/net/asterisk13/Makefile	Mon Jul 18 17:57:05 2016	(r418725)
+++ head/net/asterisk13/Makefile	Mon Jul 18 18:01:29 2016	(r418726)
@@ -2,7 +2,7 @@
 
 PORTNAME=	asterisk
 PORTVERSION=	13.9.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
 MASTER_SITE_SUBDIR=	asterisk/ \

Added: head/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c	Mon Jul 18 18:01:29 2016	(r418726)
@@ -0,0 +1,11 @@
+--- res/res_pjsip/pjsip_cli.c.orig	2016-05-13 17:41:41 UTC
++++ res/res_pjsip/pjsip_cli.c
+@@ -172,7 +172,7 @@ char *ast_sip_cli_traverse_objects(struc
+ 		}
+ 		regex = a->argv[4];
+ 	} else {
+-		regex = "";
++		regex = ".";
+ 	}
+ 
+ 	if (cmd == CLI_GENERATE



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