Created attachment 233551 [details] patch to fix compile errors with clang13 Clang 13+ catches a previously missed unused variable. As kmods compile with -Werror this caused the build to stop. Fix the build. Fix attached
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2c8ca5df4d2b07fb124f9b7dfa9d9f62f120a5d commit e2c8ca5df4d2b07fb124f9b7dfa9d9f62f120a5d Author: Jamie Landeg-Jones <jamie@catflap.org> AuthorDate: 2022-05-14 16:34:13 +0000 Commit: Dmitri Goutnik <dmgk@FreeBSD.org> CommitDate: 2022-05-14 16:40:10 +0000 emulators/rtc: Unbreak build with llvm13 rtc.c:112:6: error: variable 'unit' set but not used [-Werror,-Wunused-but-set-variable] int unit; ^ PR: 263616 emulators/rtc/files/rtc.c | 6 ++++++ 1 file changed, 6 insertions(+)
Committed, thanks!