commit:     45ecc314b93ee72ed92f34aeff3ae9ea2289d4dc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 06:13:59 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 06:13:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ecc314

app-misc/screen: build w/ -std=gnu17

This might be fixed on master (5.0.x) although given the issue mentioned
in bug #935755 wrt missed cherry-picks from stable -> master upstream,
not sure if it really is or not.

In any case, just build with -std=gnu17 for now, as it's harmless and
screen is an important package.

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

 app-misc/screen/screen-4.9.1-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-misc/screen/screen-4.9.1-r1.ebuild 
b/app-misc/screen/screen-4.9.1-r1.ebuild
index c7bbb48e8051..074cf1385712 100644
--- a/app-misc/screen/screen-4.9.1-r1.ebuild
+++ b/app-misc/screen/screen-4.9.1-r1.ebuild
@@ -64,6 +64,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #944429 (revisit this on >= 5.0.0)
+       append-cflags -std=gnu17
        append-lfs-flags
        append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
 

Reply via email to