git: 113367546d41 - main - x11/foot: unbreak build with clang 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Feb 2023 00:59:07 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=113367546d417f304b1d1f79b034f254fc97e2a2 commit 113367546d417f304b1d1f79b034f254fc97e2a2 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-02-11 16:01:12 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-02-12 00:51:00 +0000 x11/foot: unbreak build with clang 15 ./uri.c:162:16: error: variable 'decoded_len' set but not used [-Werror,-Wunused-but-set-variable] size_t decoded_len = 0; ^ Reported by: pkg-fallout --- x11/foot/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/x11/foot/Makefile b/x11/foot/Makefile index 164a57c621a3..1e8540fafd46 100644 --- a/x11/foot/Makefile +++ b/x11/foot/Makefile @@ -21,6 +21,7 @@ LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman +CFLAGS+= -Wno-error=unused-but-set-variable # https://codeberg.org/dnkl/foot/issues/1278 WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS LTO NOTIFY PGO UTF8PROC XDG