GCC-15 defaults to C23, which changes the meaning of an empty parameter list: https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters Leading to a build failure: tsserve.c: In function ‘set_child_exit_handler’: tsserve.c:2988:21: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 2988 | action.sa_handler = on_child_exit; Add a patch from an upstream PR to fix that. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>