diff options
| author | Nicolas PARLANT <nicolas.parlant@parhuet.fr> | 2025-11-22 22:34:53 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-11-26 02:21:42 +0000 |
| commit | 5c629794b56ea4244f41ca9e86cdf423b9aadce3 (patch) | |
| tree | 7f42939d500a6925692ad9367159f65b93434397 /dev-lua | |
| parent | ef5165a7445bc269cc4de21c7e5d73252648c4a0 (diff) | |
| download | gentoo-5c629794b56ea4244f41ca9e86cdf423b9aadce3.tar.gz gentoo-5c629794b56ea4244f41ca9e86cdf423b9aadce3.tar.bz2 gentoo-5c629794b56ea4244f41ca9e86cdf423b9aadce3.zip | |
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@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@gentoo.org>
Diffstat (limited to 'dev-lua')
| -rw-r--r-- | dev-lua/cqueues/files/cqueues-20200726_p20241204-fix_c23.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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() */ + |
