aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/musl-glob-compat.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-18 13:51:44 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-18 13:52:44 +0000
commit211f26ed8b6729fd1e9e2ece00aa4dea0f6b3c12 (patch)
treeabba4836561757f118a90219ac2a6398ac25e0a8 /main/asterisk/musl-glob-compat.patch
parent9af45942aa6dbc7e70666270163d894fb3dc9b3a (diff)
downloadaports-211f26ed8b6729fd1e9e2ece00aa4dea0f6b3c12.tar.bz2
aports-211f26ed8b6729fd1e9e2ece00aa4dea0f6b3c12.tar.xz
main/asterisk: fix musl build
Diffstat (limited to 'main/asterisk/musl-glob-compat.patch')
-rw-r--r--main/asterisk/musl-glob-compat.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/asterisk/musl-glob-compat.patch b/main/asterisk/musl-glob-compat.patch
new file mode 100644
index 0000000000..429babb573
--- /dev/null
+++ b/main/asterisk/musl-glob-compat.patch
@@ -0,0 +1,31 @@
+--- asterisk-11.7.0.orig/res/ael/ael.flex
++++ asterisk-11.7.0/res/ael/ael.flex
+@@ -79,6 +79,12 @@
+ #if !defined(GLOB_ABORTED)
+ #define GLOB_ABORTED GLOB_ABEND
+ #endif
++#if !defined(GLOB_BRACE)
++#define GLOB_BRACE 0
++#endif
++#if !defined(GLOB_NOMAGIC)
++#define GLOB_NOMAGIC 0
++#endif
+
+ #include "asterisk/logger.h"
+ #include "asterisk/utils.h"
+Only in asterisk-11.7.0: res/ael/ael.tab.o
+--- asterisk-11.7.0.orig/res/ael/ael_lex.c
++++ asterisk-11.7.0/res/ael/ael_lex.c
+@@ -838,6 +838,12 @@
+ #if !defined(GLOB_ABORTED)
+ #define GLOB_ABORTED GLOB_ABEND
+ #endif
++#if !defined(GLOB_BRACE)
++#define GLOB_BRACE 0
++#endif
++#if !defined(GLOB_NOMAGIC)
++#define GLOB_NOMAGIC 0
++#endif
+
+ #include "asterisk/logger.h"
+ #include "asterisk/utils.h"