commit:     f7ea685a290d32a4fbb3f3422a4facf307dcbd61
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:27:17 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 08:56:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ea685a

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 <AT> gentoo.org>

 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 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)

Reply via email to