commit:     1f6b43122743e6059df5d7d2bfb100baca220ee7
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Wed Apr 30 23:44:40 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  1 03:10:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6b4312

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 <AT> 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 <AT> gentoo.org>

 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 dcccbdee5776..2c895daeeff9 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}"
 }
 

Reply via email to