libpjsip: fix musl build
authorLuca Ceresoli <luca@lucaceresoli.net>
Mon, 14 Mar 2016 22:18:02 +0000 (23:18 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 15 Mar 2016 19:58:36 +0000 (20:58 +0100)
commit4507e261c0c3c5f6726a7951c055c6d0c8b86510
treef843011a37153414a52e5e73f46ea3ad03695f00
parentf35f54585f9e63400bdbd9c9ba2b9fd67be538ea
libpjsip: fix musl build

Fix two different build issues when building against musl.

Fixes:
  http://autobuild.buildroot.net/results/e5c/e5c85272b5561549dfc478264ee6507bb9ad8c9f/

Based on an Alpine Linux patch [0] as suggested by Thomas [1].

[0] http://git.alpinelinux.org/cgit/aports/plain/main/pjproject/musl-fixes.patch
[1] http://lists.busybox.net/pipermail/buildroot/2016-March/155056.html

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libpjsip/0001-Use-mutex-types-compatible-with-musl-fixes-musl-buil.patch [new file with mode: 0644]
package/libpjsip/0002-Replace-__sched_priority-with-sched_priority-fixes-m.patch [new file with mode: 0644]