aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/0001-musl-fixes.patch
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2014-10-22 01:29:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-22 07:13:14 +0000
commit88cba112c09bacb642ffe7e454782c050292a5e3 (patch)
treefd98c3f53539aa7c775644f87c31c05b1b2712d6 /main/kamailio/0001-musl-fixes.patch
parente076167e5af3cafa29d0fadc0f3d5decf601e395 (diff)
downloadaports-88cba112c09bacb642ffe7e454782c050292a5e3.tar.bz2
aports-88cba112c09bacb642ffe7e454782c050292a5e3.tar.xz
kamailio - version bump to 4.2.0
new in sub-packages: kamailio: rtpproxy-ng renamed to rtpengine kamailio-extras: tsilo jsonrpc-s kamailio-uuid: new (uuid module) kamailio-ev: new (evapi module)
Diffstat (limited to 'main/kamailio/0001-musl-fixes.patch')
-rw-r--r--main/kamailio/0001-musl-fixes.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/main/kamailio/0001-musl-fixes.patch b/main/kamailio/0001-musl-fixes.patch
new file mode 100644
index 0000000000..752469e208
--- /dev/null
+++ b/main/kamailio/0001-musl-fixes.patch
@@ -0,0 +1,63 @@
+diff --git a/modules/ldap/ld_session.h b/modules/ldap/ld_session.h
+index 03a4ea5..de7bc0b 100644
+--- a/modules/ldap/ld_session.h
++++ b/modules/ldap/ld_session.h
+@@ -33,6 +33,7 @@
+ #ifndef LD_SESSION_H
+ #define LD_SESSION_H
+
++#include <sys/time.h>
+ #include <ldap.h>
+
+ #include "iniparser.h"
+diff --git a/modules/seas/event_dispatcher.c b/modules/seas/event_dispatcher.c
+index d10cffe..8e1a56a 100644
+--- a/modules/seas/event_dispatcher.c
++++ b/modules/seas/event_dispatcher.c
+@@ -25,7 +25,7 @@
+ #include <string.h>/*strcmp,memset*/
+ #include <errno.h>/*errno*/
+ #include <unistd.h>/*close(),read(),pipe,fork,pid_t*/
+-#include <sys/poll.h>/*poll*/
++#include <poll.h>/*poll*/
+ #include <signal.h>/*signal*/
+ #include <time.h>/*time*/
+ #include <string.h>/*memcmp*/
+diff --git a/modules/tls/tls_server.c b/modules/tls/tls_server.c
+index cfd09c4..0a27433 100644
+--- a/modules/tls/tls_server.c
++++ b/modules/tls/tls_server.c
+@@ -33,7 +33,7 @@
+ */
+
+
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <openssl/err.h>
+ #include <openssl/ssl.h>
+ #include "../../dprint.h"
+diff --git a/tsend.c b/tsend.c
+index 3a18502..99f0c21 100644
+--- a/tsend.c
++++ b/tsend.c
+@@ -43,7 +43,7 @@
+
+ #include <string.h>
+ #include <errno.h>
+-#include <sys/poll.h>
++#include <poll.h>
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
+diff --git a/utils/sercmd/sercmd.c b/utils/sercmd/sercmd.c
+index fb9c0a3..717a78d 100644
+--- a/utils/sercmd/sercmd.c
++++ b/utils/sercmd/sercmd.c
+@@ -49,6 +49,7 @@
+ #include <netdb.h> /* gethostbyname */
+ #include <fcntl.h>
+ #include <time.h> /* time */
++#include <sys/time.h>
+
+ #ifdef USE_READLINE
+ #include <readline/readline.h>