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
This commit is contained in:
Jan Beich 2023-02-11 15:58:38 +00:00
parent 0e8e0e555b
commit d21cddb8cb

View file

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