From 9dc96ba4b5fe632eb7239f1f8b7a58ff3f2d4078 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 11 Oct 2022 04:26:34 -0400 Subject: [PATCH] x11-misc/dclock: 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 --- x11-misc/dclock/dclock-2.2.2_p12.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x11-misc/dclock/dclock-2.2.2_p12.ebuild b/x11-misc/dclock/dclock-2.2.2_p12.ebuild index 40e1bc5b55749..6ff7ea856b37b 100644 --- a/x11-misc/dclock/dclock-2.2.2_p12.ebuild +++ b/x11-misc/dclock/dclock-2.2.2_p12.ebuild @@ -45,6 +45,8 @@ src_prepare() { } src_configure() { + append-cflags -std=gnu89 # old codebase, incompatible with c2x + if use xft; then append-cppflags \ -DXFT_SUPPORT \