commit:     028fcb6abd27a683cdbe6cc939026e37f3c7fec6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 30 19:43:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 30 19:43:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=028fcb6a

sys-libs/librtas: pass -std=gnu17 for stable

This is fixed properly in just-bumped librtas-2.0.6.

Closes: https://bugs.gentoo.org/955091
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/librtas/librtas-2.0.3.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-libs/librtas/librtas-2.0.3.ebuild 
b/sys-libs/librtas/librtas-2.0.3.ebuild
index e5e5c31a27f0..a938fa58d045 100644
--- a/sys-libs/librtas/librtas-2.0.3.ebuild
+++ b/sys-libs/librtas/librtas-2.0.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit autotools
+
+inherit autotools flag-o-matic
 
 DESCRIPTION="A set of libraries for userspace access to RTAS on the PowerPC 
platform(s)"
 HOMEPAGE="https://github.com/ibm-power-utilities/librtas";
@@ -19,6 +20,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #955091
+       append-cflags -std=gnu17
        econf $(use_enable static-libs static)
 }
 

Reply via email to