meta-openembedded/meta-networking/recipes-support/netcat
mark.yang a8b8eaa85b
netcat-openbsd: fix build error with gcc-15
* submit fix:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097448
  to fix:
    netcat.c:1443:41: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
    1443 |                         signal(SIGALRM, quit);
        |                                         ^~~~
        |                                         |
        |                                         void (*)(void)
    In file included from netcat.c💯
    TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
    88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
        |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
    netcat.c:241:13: note: 'quit' declared here
    241 | static void quit();
        |             ^~~~
    TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
    72 | typedef void (*__sighandler_t) (int);
        |                ^~~~~~~~~~~~~~
    make: *** [Makefile:17: netcat.o] Error 1

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:04 -07:00
..
netcat netcat: Fix build with gettext 0.20.x 2020-01-01 22:15:08 -08:00
netcat-openbsd netcat-openbsd: fix build error with gcc-15 2025-04-19 14:36:04 -07:00
netcat_0.7.1.bb recipes: Drop remaining PR values from recipes 2024-03-17 13:10:10 -07:00
netcat-openbsd_1.195.bb netcat-openbsd: fix build error with gcc-15 2025-04-19 14:36:04 -07:00
netcat.inc Convert to new override syntax 2021-08-03 10:21:25 -07:00