void-packages/srcpkgs/watchman/patches/muslc.patch

17 lines
637 B
Diff

--- log.c.bck 2016-02-14 04:34:21.822095670 -0500
+++ log.c 2016-02-14 04:35:35.669233860 -0500
@@ -78,11 +78,11 @@
dprintf(STDERR_FILENO,
"Terminating due to signal %d %s "
"generated by pid=%d uid=%d. %s (%p)\n",
- signo, sys_siglist[signo], si->si_pid, si->si_uid,
+ signo, strsignal(signo), si->si_pid, si->si_uid,
reason, si->si_value.sival_ptr);
} else {
dprintf(STDERR_FILENO, "Terminating due to signal %d %s. %s\n",
- signo, sys_siglist[signo], reason);
+ signo, strsignal(signo), reason);
}
#if defined(HAVE_BACKTRACE) && defined(HAVE_BACKTRACE_SYMBOLS_FD)