mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
sci-mathematics/why3: Fix sa_handler signature
Closes: https://bugs.gentoo.org/944186 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
11
sci-mathematics/why3/files/why3-1.7.2-signum.patch
Normal file
11
sci-mathematics/why3/files/why3-1.7.2-signum.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/src/server/cpulimit-unix.c 2024-11-20 22:37:00.519645455 +0100
|
||||
+++ b/src/server/cpulimit-unix.c 2024-11-20 22:39:55.096447774 +0100
|
||||
@@ -42,7 +42,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
-void wallclock_timelimit_reached() {
|
||||
+void wallclock_timelimit_reached(__attribute__((unused)) int signum) {
|
||||
fprintf(stderr,
|
||||
"Why3cpulimit: wallclock timelimit %d reached, killing command\n",
|
||||
wallclock_timelimit);
|
||||
@@ -46,6 +46,8 @@ BDEPEND="
|
||||
|
||||
DOCS=( CHANGES.md README.md )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-signum.patch )
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
|
||||
|
||||
Reference in New Issue
Block a user