ports/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c
Guido Falsi c70107337d 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>
2016-07-18 18:01:29 +00:00

11 lines
252 B
C

--- 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