summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/why3/files/why3-1.7.2-signum.patch')
-rw-r--r--sci-mathematics/why3/files/why3-1.7.2-signum.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-mathematics/why3/files/why3-1.7.2-signum.patch b/sci-mathematics/why3/files/why3-1.7.2-signum.patch
new file mode 100644
index 000000000000..97c014df8b91
--- /dev/null
+++ b/sci-mathematics/why3/files/why3-1.7.2-signum.patch
@@ -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);