diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 04:27:44 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 04:56:04 -0400 |
commit | bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1 (patch) | |
tree | 20e6c0edebbb677e78a3e46b21afa7f5a3a79979 /x11-misc | |
parent | x11-misc/xfishtank: pass -std=gnu89 (diff) | |
download | gentoo-bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1.tar.gz gentoo-bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1.tar.bz2 gentoo-bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1.zip |
x11-misc/xsnap: 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/xsnap/xsnap-1.5.15-r3.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild index 560e1574bb68..c68de841d51c 100644 --- a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild +++ b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" @@ -52,6 +52,8 @@ src_prepare() { } 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 } |