git: d21cddb8cbb8 - main - x11/wayout: unbreak build with clang 15

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 12 Feb 2023 00:59:06 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d21cddb8cbb8577568ca630459e6e8761077ea09

commit d21cddb8cbb8577568ca630459e6e8761077ea09
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-11 15:58:38 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-12 00:51:00 +0000

    x11/wayout: unbreak build with clang 15
    
    ../src/output.c:22:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    static void noop () {}
                     ^
                      void
    
    Reported by:    pkg-fallout
---
 x11/wayout/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11/wayout/Makefile b/x11/wayout/Makefile
index d1beb891e64f..00c1e4dc2474 100644
--- a/x11/wayout/Makefile
+++ b/x11/wayout/Makefile
@@ -15,6 +15,7 @@ LIB_DEPENDS=	libwayland-client.so:graphics/wayland
 
 USES=		compiler:c11 gnome meson pkgconfig
 USE_GNOME=	cairo pango
+CFLAGS+=	-Wno-error=strict-prototypes # Clang 15, similar to wlclock
 PLIST_FILES=	bin/${PORTNAME}
 
 OPTIONS_DEFINE=	EPOLL MANPAGES