aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/musl-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-03-04 12:49:07 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-03-04 14:02:18 +0000
commit4ec760f2ed2f7695b361ead70658f7a8ada9f1ec (patch)
treedb779532504f19d2f606cb8170d8f7d15387818b /main/asterisk/musl-includes.patch
parenta263b96c26d155f20a8526a8c640469110908b0c (diff)
downloadaports-4ec760f2ed2f7695b361ead70658f7a8ada9f1ec.tar.bz2
aports-4ec760f2ed2f7695b361ead70658f7a8ada9f1ec.tar.xz
main/asterisk: upgrade to 12.1.0
ASTERISK-19109, rebased against 12.x (untested) ASTERISK-19499, cherry picked from upstream
Diffstat (limited to 'main/asterisk/musl-includes.patch')
-rw-r--r--main/asterisk/musl-includes.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/asterisk/musl-includes.patch b/main/asterisk/musl-includes.patch
new file mode 100644
index 0000000000..810602607e
--- /dev/null
+++ b/main/asterisk/musl-includes.patch
@@ -0,0 +1,42 @@
+--- asterisk-11.7.0.orig/main/ast_expr2.c
++++ asterisk-11.7.0/main/ast_expr2.c
+@@ -93,6 +93,7 @@
+
+ #include "asterisk.h"
+
++#include <sys/cdefs.h>
+ #include <sys/types.h>
+ #include <stdio.h>
+
+--- asterisk-11.7.0.orig/main/ast_expr2.y
++++ asterisk-11.7.0/main/ast_expr2.y
+@@ -14,6 +14,7 @@
+
+ #include "asterisk.h"
+
++#include <sys/cdefs.h>
+ #include <sys/types.h>
+ #include <stdio.h>
+
+--- asterisk-12.1.0.orig/include/asterisk/compat.h
++++ asterisk-12.1.0/include/asterisk/compat.h
+@@ -68,7 +68,7 @@
+ #endif
+
+ #ifndef AST_POLL_COMPAT
+-#include <sys/poll.h>
++#include <poll.h>
+ #else
+ #include "asterisk/poll-compat.h"
+ #endif
+--- asterisk-12.1.0.orig/include/asterisk/poll-compat.h
++++ asterisk-12.1.0/include/asterisk/poll-compat.h
+@@ -83,7 +83,7 @@
+
+ #ifndef AST_POLL_COMPAT
+
+-#include <sys/poll.h>
++#include <poll.h>
+
+ #define ast_poll(a, b, c) poll(a, b, c)
+