summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:21:40 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:56:00 -0400
commita987ed7dfb7e065f72a27b5a465e3319c5e80703 (patch)
treefa7da2764f56efaad7dec9103b4ec71fa2014aa4 /games-arcade/xscavenger
parentgames-action/xpilot: pass -std=gnu89 (diff)
downloadgentoo-a987ed7dfb7e065f72a27b5a465e3319c5e80703.tar.gz
gentoo-a987ed7dfb7e065f72a27b5a465e3319c5e80703.tar.bz2
gentoo-a987ed7dfb7e065f72a27b5a465e3319c5e80703.zip
games-arcade/xscavenger: pass -std=gnu89
Does not build with `clang -std=c2x`, early workaround for when this will become a default. (not actively hunting for these, merely revisiting packages previously looked at for clang16 even if not an issue "yet"). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade/xscavenger')
-rw-r--r--games-arcade/xscavenger/xscavenger-1.4.5.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games-arcade/xscavenger/xscavenger-1.4.5.ebuild b/games-arcade/xscavenger/xscavenger-1.4.5.ebuild
index 3564676ebb08..d8525d0d2ccd 100644
--- a/games-arcade/xscavenger/xscavenger-1.4.5.ebuild
+++ b/games-arcade/xscavenger/xscavenger-1.4.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,6 +29,7 @@ PATCHES=(
src_compile() {
tc-export CC
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
# skip using imake for simplicity
local cppargs=(