xref: /OK3568_Linux_fs/buildroot/package/lua-lunix/0001-fix-with-uClibc.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From ee41d97a80b978f54941ac6857c00b8a8f28de24 Mon Sep 17 00:00:00 2001
2From: Francois Perrad <francois.perrad@gadz.org>
3Date: Sun, 6 Jun 2021 17:55:06 +0200
4Subject: [PATCH] fix with uClibc
5
6uClibc doesn't have is no sys_siglist.
7
8Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
9---
10 lunix-rel-20170920/src/unix.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/lunix-rel-20170920/src/unix.c b/lunix-rel-20170920/src/unix.c
14index 5f3a70a..e561ab2 100644
15--- a/lunix-rel-20170920/src/unix.c
16+++ b/lunix-rel-20170920/src/unix.c
17@@ -438,7 +438,7 @@
18 #endif
19
20 #ifndef HAVE_SYS_SIGLIST
21-#define HAVE_SYS_SIGLIST (!MUSL_MAYBE && !__sun && !_AIX)
22+#define HAVE_SYS_SIGLIST (!MUSL_MAYBE && !__sun && !_AIX && !__UCLIBC__)
23 #endif
24
25 #ifndef HAVE_UNLINKAT
26--
272.30.2
28
29