commit: 9dc96ba4b5fe632eb7239f1f8b7a58ff3f2d4078
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:26:34 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=9dc96ba4
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 <ionen <AT> gentoo.org>
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 40e1bc5b5574..6ff7ea856b37 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 \