lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 67a9d1e27fa35457df5f7ec722be2e79fd9a385c
parent 345cbdc10ede91c3e0ed704286bf3553830f3792
Author: Maxim Storchak <m.storchak@gmail.com>
Date:   Mon,  3 Aug 2015 01:16:51 +0300

lualanes: fix musl compatibility

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

Diffstat:
Alang/lualanes/patches/100-musl-compat.patch | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/lang/lualanes/patches/100-musl-compat.patch b/lang/lualanes/patches/100-musl-compat.patch @@ -0,0 +1,13 @@ +diff --git a/src/threading.h b/src/threading.h +index bfa9ab8..7b3d6a1 100644 +--- a/src/threading.h ++++ b/src/threading.h +@@ -128,7 +128,7 @@ enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED }; + #endif // PLATFORM_WIN32 + #include <pthread.h> + +- #ifdef PLATFORM_LINUX ++ #if defined(PLATFORM_LINUX) && defined(__UCLIBC__) + # define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP + #else + /* OS X, ... */