diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 04:27:27 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 04:56:04 -0400 |
commit | 6e8a888d8fbdbea1887eca7e304ca0b8bf180d69 (patch) | |
tree | e4a0ee4f2d84832045d3e3a441474bdf135a372f /x11-misc | |
parent | x11-misc/xcalendar: pass -std=gnu89 (diff) | |
download | gentoo-6e8a888d8fbdbea1887eca7e304ca0b8bf180d69.tar.gz gentoo-6e8a888d8fbdbea1887eca7e304ca0b8bf180d69.tar.bz2 gentoo-6e8a888d8fbdbea1887eca7e304ca0b8bf180d69.zip |
x11-misc/xearth: 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 'x11-misc')
-rw-r--r-- | x11-misc/xearth/xearth-1.1-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/xearth/xearth-1.1-r1.ebuild b/x11-misc/xearth/xearth-1.1-r1.ebuild index d80d0c43e7eb..afcf07d5a879 100644 --- a/x11-misc/xearth/xearth-1.1-r1.ebuild +++ b/x11-misc/xearth/xearth-1.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Set the X root window to an image of the Earth" HOMEPAGE="https://hewgill.com/xearth/original/" @@ -33,6 +33,8 @@ PATCHES=( DOCS=( BUILT-IN GAMMA-TEST HISTORY README ) src_configure() { + append-cflags -std=gnu89 # old codebase, incompatible with c2x + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die } |