kumquat-buildroot/package/lua-lunix/0001-fix-with-uClibc.patch
Francois Perrad d3e2e7e9a6 package/lua-lunix: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-07-13 22:19:07 +02:00

29 lines
790 B
Diff

From ee41d97a80b978f54941ac6857c00b8a8f28de24 Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org>
Date: Sun, 6 Jun 2021 17:55:06 +0200
Subject: [PATCH] fix with uClibc
uClibc doesn't have is no sys_siglist.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
lunix-rel-20170920/src/unix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lunix-rel-20170920/src/unix.c b/lunix-rel-20170920/src/unix.c
index 5f3a70a..e561ab2 100644
--- a/lunix-rel-20170920/src/unix.c
+++ b/lunix-rel-20170920/src/unix.c
@@ -438,7 +438,7 @@
#endif
#ifndef HAVE_SYS_SIGLIST
-#define HAVE_SYS_SIGLIST (!MUSL_MAYBE && !__sun && !_AIX)
+#define HAVE_SYS_SIGLIST (!MUSL_MAYBE && !__sun && !_AIX && !__UCLIBC__)
#endif
#ifndef HAVE_UNLINKAT
--
2.30.2