commit: 5c629794b56ea4244f41ca9e86cdf423b9aadce3
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sat Nov 22 21:34:53 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 26 02:21:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c629794
dev-lua/cqueues: fix incompatible-pointer
>src/signal.c:545:31:
>error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from
>incompatible pointer type ‘void (*)(void)’[-Wincompatible-pointer-types]
> 545 | sa.sa_handler = &ls_noop;
> | ^
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44733
Closes: https://github.com/gentoo/gentoo/pull/44733
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../cqueues/files/cqueues-20200726_p20241204-fix_c23.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/dev-lua/cqueues/files/cqueues-20200726_p20241204-fix_c23.patch
b/dev-lua/cqueues/files/cqueues-20200726_p20241204-fix_c23.patch
index 936cfde27495..b75fc05753ea 100644
--- a/dev-lua/cqueues/files/cqueues-20200726_p20241204-fix_c23.patch
+++ b/dev-lua/cqueues/files/cqueues-20200726_p20241204-fix_c23.patch
@@ -83,3 +83,14 @@ Subject: [PATCH] Ext DNS: add function pointers prototypes
in order to
unsigned args[2];
struct {
+--- a/src/signal.c
++++ b/src/signal.c
+@@ -533,7 +533,7 @@ static int ls_default(lua_State *L) {
+ } /* ls_default() */
+
+
+-static void ls_noop() {
++static void ls_noop(int _unused) {
+ return;
+ } /* ls_noop() */
+