Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 11:13:14 +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: r465580 - in head/net/asterisk15: . files
Message-ID:  <201803261113.w2QBDE16033256@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Mon Mar 26 11:13:13 2018
New Revision: 465580
URL: https://svnweb.freebsd.org/changeset/ports/465580

Log:
  Fix asterisk 15 command line parsing.
  
  PR:		226909
  Submitted by:	O. Hartmann <ohartmann@walstatt.org>

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

Modified: head/net/asterisk15/Makefile
==============================================================================
--- head/net/asterisk15/Makefile	Mon Mar 26 11:08:00 2018	(r465579)
+++ head/net/asterisk15/Makefile	Mon Mar 26 11:13:13 2018	(r465580)
@@ -2,6 +2,7 @@
 
 PORTNAME=	asterisk
 PORTVERSION=	15.3.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
 MASTER_SITE_SUBDIR=	asterisk/ \

Added: head/net/asterisk15/files/patch-main_asterisk.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/asterisk15/files/patch-main_asterisk.c	Mon Mar 26 11:13:13 2018	(r465580)
@@ -0,0 +1,11 @@
+--- main/asterisk.c.orig	2018-03-15 16:31:26 UTC
++++ main/asterisk.c
+@@ -3991,7 +3991,7 @@ int main(int argc, char *argv[])
+ 	 *
+ 	 * \todo Document these options
+ 	 */
+-	optind = 0;
++	optind = 1;
+ 	while ((c = getopt(argc, argv, getopt_settings)) != -1) {
+ 		/*!\note Please keep the ordering here to alphabetical, capital letters
+ 		 * first.  This will make it easier in the future to select unused



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