git: 0e8e0e555b50 - main - x11/lavalauncher: unbreak build with clang 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Feb 2023 00:59:05 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e8e0e555b50d54ecb8cab59a12f1ff21bf62925 commit 0e8e0e555b50d54ecb8cab59a12f1ff21bf62925 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-02-11 15:52:06 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-02-12 00:50:59 +0000 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 --- x11/lavalauncher/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/x11/lavalauncher/Makefile b/x11/lavalauncher/Makefile index b54ebf40a42e..9f98fb0a76fc 100644 --- a/x11/lavalauncher/Makefile +++ b/x11/lavalauncher/Makefile @@ -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