Created attachment 243543 [details] Patch for src/gui/render_templates_sai.h, where I took the simpler approach and #defined the register keyword away.
Fixed. I used the 'canonical' way we are fixing these things in the repo. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=99db2990f1de8e37da59ba06d3570425636361ca commit 99db2990f1de8e37da59ba06d3570425636361ca Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2023-07-23 17:14:30 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-07-24 11:29:26 +0000 emulators/dosbox: fix build with llvm16 Undefine 'register' keyword. PR: 272659 Reported by: Trond.Endrestol@ximalas.info emulators/dosbox/Makefile | 5 +++++ 1 file changed, 5 insertions(+)