From f7ea685a290d32a4fbb3f3422a4facf307dcbd61 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 11 Oct 2022 04:27:17 -0400 Subject: [PATCH] x11-misc/xcalendar: 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/xcalendar/xcalendar-4.0-r3.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild index e400aa3e3cdc4..77be8a1f274ab 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild @@ -42,6 +42,7 @@ src_prepare() { src_compile() { tc-export CC + append-cflags -std=gnu89 # old codebase, incompatible with c2x if use motif; then append-cppflags $($(tc-getPKG_CONFIG) --cflags x11 xmu xt || die)