summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:27:17 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:56:03 -0400
commitf7ea685a290d32a4fbb3f3422a4facf307dcbd61 (patch)
treeb7670196f07f3d3b38a190a72386d1b8390b24c0 /x11-misc/xcalendar
parentx11-misc/xbatt: pass -std=gnu89 (diff)
downloadgentoo-f7ea685a290d32a4fbb3f3422a4facf307dcbd61.tar.gz
gentoo-f7ea685a290d32a4fbb3f3422a4facf307dcbd61.tar.bz2
gentoo-f7ea685a290d32a4fbb3f3422a4facf307dcbd61.zip
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 <ionen@gentoo.org>
Diffstat (limited to 'x11-misc/xcalendar')
-rw-r--r--x11-misc/xcalendar/xcalendar-4.0-r3.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild
index e400aa3e3cdc..77be8a1f274a 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)