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 <immoloism@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41870
Closes: https://github.com/gentoo/gentoo/pull/41870
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Ian Jordan 2025-05-01 00:44:40 +01:00 committed by Sam James
parent 9dba695d97
commit 1f6b431227
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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}"
}