From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 64326158083 for ; Sun, 22 Sep 2024 08:19:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89B7CE2C77; Sun, 22 Sep 2024 08:19:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D56DE2C77 for ; Sun, 22 Sep 2024 08:19:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 73E4A3433C6 for ; Sun, 22 Sep 2024 08:19:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EDA819CB for ; Sun, 22 Sep 2024 08:19:49 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1726993153.ae12690844146728289a3d499fa104e40fea6a5e.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cvc4/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/cvc4/cvc4-1.8-r5.ebuild X-VCS-Directories: sci-mathematics/cvc4/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: ae12690844146728289a3d499fa104e40fea6a5e X-VCS-Branch: master Date: Sun, 22 Sep 2024 08:19:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cf83e126-39ab-486c-b868-6a1b471b70a5 X-Archives-Hash: 5ae2a9a4d98795b6a2d102b83f95d8fa commit: ae12690844146728289a3d499fa104e40fea6a5e Author: Alfredo Tupone gentoo org> AuthorDate: Sun Sep 22 08:18:26 2024 +0000 Commit: Alfredo Tupone gentoo 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 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() {