diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 04:27:07 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 04:56:03 -0400 |
commit | bee0fed2f63cb78cb7b34b5ebd39dafd3a31aa23 (patch) | |
tree | 0e3178c2681dae411fbfbec9ce23d6cb6de56ba8 /x11-misc | |
parent | x11-misc/x2x: pass -std=gnu89 (diff) | |
download | gentoo-bee0fed2f63cb78cb7b34b5ebd39dafd3a31aa23.tar.gz gentoo-bee0fed2f63cb78cb7b34b5ebd39dafd3a31aa23.tar.bz2 gentoo-bee0fed2f63cb78cb7b34b5ebd39dafd3a31aa23.zip |
x11-misc/xbatt: 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/xbatt/xbatt-1.3_rc1-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild index 460d865a6a04..d9e0581b39b2 100644 --- a/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild +++ b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_PV=${PV/_rc/pr} @@ -36,6 +36,8 @@ PATCHES=( ) 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 } |