Created attachment 237098 [details] Patch for vulkan-tools As of PR 266721 BUILD_WERROR needs to be turned off to port to compile Compile tested on 13.1-STABLE (amd64)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2663085f868eb72a8495562cd97ef5fdce88d175 commit 2663085f868eb72a8495562cd97ef5fdce88d175 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-10-05 15:06:56 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-10-05 15:09:57 +0000 graphics/vulkan-tools: unbreak with -DNDEBUG after 7c313a5dcadd cube/cube.c:3122:14: error: variable 'result' set but not used [-Werror,-Wunused-but-set-variable] VkResult result; ^ PR: 266842 Reported by: diizzy, antoine (via exp-run) graphics/vulkan-tools/Makefile | 3 +++ graphics/vulkan-tools/distinfo | 2 ++ 2 files changed, 5 insertions(+)
Thanks Jan for fixing and upstreaming. Best regards, Daniel