gamin: fix build with musl
authorBaruch Siach <baruch@tkos.co.il>
Tue, 1 Mar 2016 13:03:11 +0000 (15:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 29 Mar 2016 22:02:28 +0000 (00:02 +0200)
commit39be6f6bdad6b77a7540f6c9f299e02726b4a469
tree806be02ca55ceaeafda476e90e62d7614975b480
parente45172e2681ea5b7d148633bd2c3a00ae7bd82a1
gamin: fix build with musl

musl does not provide the non portable PTHREAD_MUTEX_RECURSIVE_NP. Add a patch
removing the assumption the PTHREAD_MUTEX_RECURSIVE_NP is available when
'linux' is defined.

Upstream had no new release since 2008, so there is no much hope of getting
this fix applied upstream.

Also, fix the pthread dependency comment. gamin code uses pthread directly.

Fixes:
http://autobuild.buildroot.net/results/3a9/3a9328f384fc648ae61316402a84eaffb175881b/
http://autobuild.buildroot.net/results/69d/69d2a93bc97ab0d70c3acb2f9c9f28612ea95871/
http://autobuild.buildroot.net/results/092/092ac7380beb8ce403a1a6fd8e4176e9234413a3/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gamin/0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch [new file with mode: 0644]
package/gamin/Config.in