From d1da5b9e16e2907975bb2850bb80a9327e676b94 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 20 Jun 2019 15:51:46 +0200 Subject: [PATCH] libc_noux: override __libc_sigaction This is a follow-up commit to the libc update. The FreeBSD implementation of sigset or sigaction calls the __libc_sigaction now. The patch fixes the SIGWINCH handling for Vim when interactively resizing the terminal window. Fixes #3424 --- repos/ports/src/lib/libc_noux/plugin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repos/ports/src/lib/libc_noux/plugin.cc b/repos/ports/src/lib/libc_noux/plugin.cc index 655aac990c..15407a08aa 100644 --- a/repos/ports/src/lib/libc_noux/plugin.cc +++ b/repos/ports/src/lib/libc_noux/plugin.cc @@ -936,7 +936,8 @@ extern "C" int _sigaction(int signum, const struct sigaction *act, struct sigact } -extern "C" int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact) __attribute__((alias("_sigaction"))); +extern "C" int sigaction(int, const struct sigaction *, struct sigaction *) __attribute__((alias("_sigaction"))); +extern "C" int __libc_sigaction(int, const struct sigaction *, struct sigaction *) __attribute__((alias("_sigaction"))); /*********************