Skip to content

Commit

Permalink
games-arcade/xscavenger: pass -std=gnu89
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ionenwks committed Oct 11, 2022
1 parent fc850a3 commit a987ed7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion games-arcade/xscavenger/xscavenger-1.4.5.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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=(
Expand Down

0 comments on commit a987ed7

Please sign in to comment.