[Buildroot] [PATCH 1/1] package/luaposix: add patch to fix musl compatibility

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Sep 19 12:18:46 UTC 2015


Jörg,

On Tue, 15 Sep 2015 01:22:39 +0200, Jörg Krause wrote:
> Backport patch from upstream to fix musl build error:
> 
> ```
> In file included from ext/posix/posix.c:25:0:
> ext/posix/sched.c: In function 'Psched_setscheduler':
> ext/posix/sched.c:74:9: error: variable 'sched_param' has initializer but incomplete type
>   struct sched_param sched_param = {0};
> ```
> 
> Fixed upstream by commit 11cc8a2973569ec7fb1e7c2466dca0282944b124.
> 
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>

Since the patch touches the configure.ac script, you should have added
<pkg>_AUTORECONF = YES in the .mk file. Otherwise, the build fails.

I've done this change, and applied your patch.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list