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 95F4B15802E for ; Fri, 28 Jun 2024 19:08:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71135E2A8E; Fri, 28 Jun 2024 19:08:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 5B2F1E2A8E for ; Fri, 28 Jun 2024 19:08:23 +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 8E0FC33BDF5 for ; Fri, 28 Jun 2024 19:08:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4040D1BC0 for ; Fri, 28 Jun 2024 19:08:20 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1719601690.975f3a17f24ce1676722b74223845464ebfbf5a7.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/flashrom/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/flashrom/flashrom-1.3.0-r2.ebuild X-VCS-Directories: sys-apps/flashrom/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 975f3a17f24ce1676722b74223845464ebfbf5a7 X-VCS-Branch: master Date: Fri, 28 Jun 2024 19:08:20 +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: 1423f5b1-6c54-45b5-a76c-48bda5085380 X-Archives-Hash: 9044cf2544a50904dcb739390ea50612 commit: 975f3a17f24ce1676722b74223845464ebfbf5a7 Author: Fabian Groffen gentoo org> AuthorDate: Fri Jun 28 18:19:25 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Jun 28 19:08:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975f3a17 sys-apps/flashrom-1.3.0-r2: disable linux_mtd on musl #908539 Closes: https://bugs.gentoo.org/908539 Signed-off-by: Fabian Groffen gentoo.org> sys-apps/flashrom/flashrom-1.3.0-r2.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild b/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild index 1e3b19367f39..bd7f11f4799e 100644 --- a/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild +++ b/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild @@ -107,6 +107,15 @@ PATCHES=( DOCS=( README Documentation/ ) +src_prepare() { + default + if use elibc_musl ; then + # skip failing test #908539 + sed -i -e 's/-DCONFIG_LINUX_MTD=1/-UCONFIG_LINUX_MTD/' \ + meson.build || die + fi +} + src_configure() { local programmers="$(printf '%s,' $(for flag in ${IUSE_PROGRAMMERS//+/}; do usev ${flag}; done))" programmers="${programmers%,}"