MFH: r418726
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> Approved by: ports-secteam (feld)
This commit is contained in:
parent
701f2ffc5b
commit
60c15103dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2016Q3/; revision=418740
2 changed files with 12 additions and 1 deletions
|
@ -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/ \
|
||||
|
|
11
net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c
Normal file
11
net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c
Normal file
|
@ -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
|
Loading…
Reference in a new issue