package/luaposix: add patch to fix musl compatibility
authorJörg Krause <joerg.krause@embedded.rocks>
Mon, 14 Sep 2015 23:22:39 +0000 (01:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Sep 2015 12:14:16 +0000 (14:14 +0200)
commitd54751e2d451cf2737971bd901e88501349d0dd6
treec03c7512af258587b91193a4481f60db9e60040a
parent08647c6328223b1070c64fe618d09a1a87b30ce3
package/luaposix: add patch to fix musl compatibility

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>
package/luaposix/0001-sched-workaround-glibc-_POSIX_PRIORITY_SCHEDULING-bu.patch [new file with mode: 0644]
package/luaposix/luaposix.mk