* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/why3/, sci-mathematics/why3/files/
@ 2024-11-20 21:45 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2024-11-20 21:45 UTC (permalink / raw
To: gentoo-commits
commit: 4a95491d669ef0a95bc8a8c705aea5149e2f0148
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 21:44:46 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 21:45:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a95491d
sci-mathematics/why3: Fix sa_handler signature
Closes: https://bugs.gentoo.org/944186
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-mathematics/why3/files/why3-1.7.2-signum.patch | 11 +++++++++++
sci-mathematics/why3/why3-1.7.2.ebuild | 2 ++
2 files changed, 13 insertions(+)
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);
diff --git a/sci-mathematics/why3/why3-1.7.2.ebuild b/sci-mathematics/why3/why3-1.7.2.ebuild
index 7517d54b1b67..888c5c48f865 100644
--- a/sci-mathematics/why3/why3-1.7.2.ebuild
+++ b/sci-mathematics/why3/why3-1.7.2.ebuild
@@ -46,6 +46,8 @@ BDEPEND="
DOCS=( CHANGES.md README.md )
+PATCHES=( "${FILESDIR}"/${P}-signum.patch )
+
src_prepare() {
mv configure.in configure.ac || die
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-20 21:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-20 21:45 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/why3/, sci-mathematics/why3/files/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox