mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-06 18:09:44 +03:00
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.
[Thomas: add missing <pkg>_AUTORECONF=YES.]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17 lines
642 B
Makefile
17 lines
642 B
Makefile
################################################################################
|
|
#
|
|
# luaposix
|
|
#
|
|
################################################################################
|
|
|
|
LUAPOSIX_VERSION = 33.3.1
|
|
LUAPOSIX_SITE = $(call github,luaposix,luaposix,release-v$(LUAPOSIX_VERSION))
|
|
LUAPOSIX_LICENSE = MIT
|
|
LUAPOSIX_LICENSE_FILES = COPYING
|
|
LUAPOSIX_DEPENDENCIES = luainterpreter host-lua ncurses
|
|
# 0001-sched-workaround-glibc-_POSIX_PRIORITY_SCHEDULING-bu.patch
|
|
LUAPOSIX_AUTORECONF = YES
|
|
LUAPOSIX_CONF_OPTS = --libdir="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" --datarootdir="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"
|
|
|
|
$(eval $(autotools-package))
|