asterisk-13.x: update to 13.23.1
[feed/telephony.git] / net / asterisk-13.x / patches / 050-musl-glob-compat.patch
1 --- a/res/ael/ael.flex
2 +++ b/res/ael/ael.flex
3 @@ -79,6 +79,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
4 #if !defined(GLOB_ABORTED)
5 #define GLOB_ABORTED GLOB_ABEND
6 #endif
7 +#if !defined(GLOB_BRACE)
8 +#define GLOB_BRACE 0
9 +#endif
10 +#if !defined(GLOB_NOMAGIC)
11 +#define GLOB_NOMAGIC 0
12 +#endif
13
14 #include "asterisk/logger.h"
15 #include "asterisk/utils.h"
16 --- a/res/ael/ael_lex.c
17 +++ b/res/ael/ael_lex.c
18 @@ -838,6 +838,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
19 #if !defined(GLOB_ABORTED)
20 #define GLOB_ABORTED GLOB_ABEND
21 #endif
22 +#if !defined(GLOB_BRACE)
23 +#define GLOB_BRACE 0
24 +#endif
25 +#if !defined(GLOB_NOMAGIC)
26 +#define GLOB_NOMAGIC 0
27 +#endif
28
29 #include "asterisk/logger.h"
30 #include "asterisk/utils.h"