1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

x11/lavalauncher: unbreak build with clang 15

../src/output.c:43:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
static void noop () {}
                 ^
                  void
../src/seat.c:48: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:52:06 +00:00
parent a081e7b88a
commit 0e8e0e555b

View File

@ -18,6 +18,7 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
USES= compiler:c11 gnome meson pkgconfig
USE_GNOME= cairo
CFLAGS+= -Wno-error=strict-prototypes # Clang 15, similar to wlclock
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= EPOLL INOTIFY LIBRSVG2 MANPAGES