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@gentoo.org>
This commit is contained in:
Sam James
2024-11-26 06:13:59 +00:00
parent 60a2079c94
commit 45ecc314b9

View File

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