mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix asterisk 15 command line parsing.
PR: 226909 Submitted by: O. Hartmann <ohartmann@walstatt.org>
This commit is contained in:
parent
cb86b48c4a
commit
e2bc11562a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465580
2 changed files with 12 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
PORTNAME= asterisk
|
PORTNAME= asterisk
|
||||||
PORTVERSION= 15.3.0
|
PORTVERSION= 15.3.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
|
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
|
||||||
MASTER_SITE_SUBDIR= asterisk/ \
|
MASTER_SITE_SUBDIR= asterisk/ \
|
||||||
|
|
11
net/asterisk15/files/patch-main_asterisk.c
Normal file
11
net/asterisk15/files/patch-main_asterisk.c
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue