From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cvc4/
Date: Sun, 22 Sep 2024 08:19:49 +0000 (UTC) [thread overview]
Message-ID: <1726993153.ae12690844146728289a3d499fa104e40fea6a5e.tupone@gentoo> (raw)
commit: ae12690844146728289a3d499fa104e40fea6a5e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 22 08:18:26 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 08:19:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae126908
sci-mathematics/cvc4: fix build on musl
Closes: https://bugs.gentoo.org/934053
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-mathematics/cvc4/cvc4-1.8-r5.ebuild | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild b/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild
index 4870f7af7ba6..9bab754168e0 100644
--- a/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild
+++ b/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild
@@ -57,6 +57,17 @@ src_configure() {
-DENABLE_PROOFS="$(usex proofs ON OFF)"
)
cmake_src_configure
+ # Bug #934053 - build with musl
+ antlr3 "${S}"/src/parser/cvc/Cvc.g -fo "${BUILD_DIR}"/src/parser/cvc || die
+ sed -i \
+ -e "s|k = NULL|k = 0|g" \
+ -e "s|n = NULL|n = 0|g" \
+ -e "s|k1 = NULL|k1 = 0|g" \
+ -e "s|k2 = NULL|k2 = 0|g" \
+ -e "s|lo = NULL|lo = 0|g" \
+ -e "s|hi = NULL|hi = 0|g" \
+ "${BUILD_DIR}"/src/parser/cvc/CvcParser.c \
+ die
}
src_test() {
next reply other threads:[~2024-09-22 8:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-22 8:19 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-17 15:32 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cvc4/ Arthur Zamarin
2024-01-19 21:32 Alfredo Tupone
2023-02-22 11:25 Alfredo Tupone
2022-12-05 13:32 Alfredo Tupone
2022-10-15 15:01 Sam James
2022-08-26 10:46 Sam James
2022-02-17 14:10 Alfredo Tupone
2022-02-09 1:38 Sam James
2022-02-08 8:56 Alfredo Tupone
2022-02-08 7:44 Alfredo Tupone
2022-02-05 11:22 Alfredo Tupone
2021-04-05 16:53 Andreas Sturmlechner
2021-01-20 7:32 Alfredo Tupone
2019-07-25 6:13 Alfredo Tupone
2019-07-23 13:20 Alfredo Tupone
2018-07-18 6:29 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1726993153.ae12690844146728289a3d499fa104e40fea6a5e.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox