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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66E8C1581F3 for ; Sun, 1 Dec 2024 11:26:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BBECE080E; Sun, 1 Dec 2024 11:26:50 +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 CCE2AE080E for ; Sun, 1 Dec 2024 11:26:49 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D442C342F64 for ; Sun, 1 Dec 2024 11:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37BE81E75 for ; Sun, 1 Dec 2024 11:26:47 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1733052359.bacb66174d0404b526067d674d088798966ffd92.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/debugedit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/debugedit/debugedit-5.1-r2.ebuild X-VCS-Directories: dev-util/debugedit/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bacb66174d0404b526067d674d088798966ffd92 X-VCS-Branch: master Date: Sun, 1 Dec 2024 11:26:47 +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: 05c2c0c2-5c4e-41ad-ba3e-c7dced3262d2 X-Archives-Hash: 734bcdf94fef224df6355230b97e2f84 commit: bacb66174d0404b526067d674d088798966ffd92 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Mon Nov 18 10:01:14 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 1 11:25:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bacb6617 dev-util/debugedit: fix building 5.1 on musl Grabbed error-standalone instead of forward-porting musl-error.h-fix patch due to debugedit using error() in ways that require proper argument handling: gnu.wildebeest.org/T/#m03918de727ac4fa8be8c7449ec37731710c98121> Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/39409 Signed-off-by: Sam James gentoo.org> dev-util/debugedit/debugedit-5.1-r2.ebuild | 57 ++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/dev-util/debugedit/debugedit-5.1-r2.ebuild b/dev-util/debugedit/debugedit-5.1-r2.ebuild new file mode 100644 index 000000000000..0af97687c707 --- /dev/null +++ b/dev-util/debugedit/debugedit-5.1-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multiprocessing verify-sig + +DESCRIPTION="Create debuginfo and source file distributions" +HOMEPAGE="https://sourceware.org/debugedit/" +SRC_URI=" + https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz + verify-sig? ( https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz.sig ) +" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +#KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + >=dev-libs/elfutils-0.176-r1:= + >=dev-libs/xxhash-0.8:= + elibc_musl? ( sys-libs/error-standalone ) +" +RDEPEND=" + ${DEPEND} + sys-devel/dwz +" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig + verify-sig? ( + sec-keys/openpgp-keys-debugedit + ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/debugedit.gpg + +src_prepare() { + default + + # bashism, https://sourceware.org/bugzilla/show_bug.cgi?id=32321 + sed -i -e '/test/s:==:=:' tests/debugedit.at || die +} + +src_configure() { + local myconf=( + # avoid BDEP on dwz + DWZ=dwz + ac_cv_dwz_j=yes + ) + econf "${myconf[@]}" +} + +src_test() { + emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" +}