summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-26 06:13:59 +0000
committerSam James <sam@gentoo.org>2024-11-26 06:13:59 +0000
commit45ecc314b93ee72ed92f34aeff3ae9ea2289d4dc (patch)
tree62aae27c227ee556e05d8eb76a5e7c051dcf5b5a /app-misc/screen
parentapp-arch/sharutils: build w/ -std=gnu17 (diff)
downloadgentoo-45ecc314b93ee72ed92f34aeff3ae9ea2289d4dc.tar.gz
gentoo-45ecc314b93ee72ed92f34aeff3ae9ea2289d4dc.tar.bz2
gentoo-45ecc314b93ee72ed92f34aeff3ae9ea2289d4dc.zip
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>
Diffstat (limited to 'app-misc/screen')
-rw-r--r--app-misc/screen/screen-4.9.1-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
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}"