From 1f6b43122743e6059df5d7d2bfb100baca220ee7 Mon Sep 17 00:00:00 2001 From: Ian Jordan Date: Thu, 1 May 2025 00:44:40 +0100 Subject: [PATCH] sys-apps/lssbus: Force gnustd89 Package seems no longer supported by upstream, so using the workaround fix to allow users to use it on Gentoo before a better soultion is found. This is also fixes the issue with SPARC installcd not building for Releng. Closes: https://bugs.gentoo.org/951330 Signed-off-by: Ian Jordan Part-of: https://github.com/gentoo/gentoo/pull/41870 Closes: https://github.com/gentoo/gentoo/pull/41870 Signed-off-by: Sam James --- sys-apps/lssbus/lssbus-0.1-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys-apps/lssbus/lssbus-0.1-r1.ebuild b/sys-apps/lssbus/lssbus-0.1-r1.ebuild index dcccbdee57766..2c895daeeff9d 100644 --- a/sys-apps/lssbus/lssbus-0.1-r1.ebuild +++ b/sys-apps/lssbus/lssbus-0.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Small utility for Linux/SPARC that list devices on SBUS" HOMEPAGE="https://people.redhat.com/tcallawa/lssbus/" @@ -14,6 +14,8 @@ SLOT="0" KEYWORDS="-* sparc" src_compile() { + append-cflags -std=gnu89 # Bug #951330 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" }