diff options
author | madpilot <madpilot@FreeBSD.org> | 2016-07-18 19:59:29 +0000 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2016-07-18 19:59:29 +0000 |
commit | e212e0555ff4ef0cfac07ee6b06c0b3cd65e278b (patch) | |
tree | 4ac14306828f0d4534d8e1ae1a007fa020648445 | |
parent | e78239e5e141e9502558bc0a4796059291b0445e (diff) | |
download | FreeBSD-ports-e212e0555ff4ef0cfac07ee6b06c0b3cd65e278b.zip FreeBSD-ports-e212e0555ff4ef0cfac07ee6b06c0b3cd65e278b.tar.gz |
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)
-rw-r--r-- | net/asterisk13/Makefile | 2 | ||||
-rw-r--r-- | net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/asterisk13/Makefile b/net/asterisk13/Makefile index b5fde8f..6a441b9 100644 --- a/net/asterisk13/Makefile +++ b/net/asterisk13/Makefile @@ -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/ \ diff --git a/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c b/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c new file mode 100644 index 0000000..f1d6aa4 --- /dev/null +++ b/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c @@ -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 |