Created attachment 235647 [details] emulators/darcnes: fix build on recent FreeBSD The port requires GNU89 semantics for the inline keyword, as opposed to the standard C99 semantics. Fix the build by setting the C standard to GNU89. While we are at it, hook up test suite and make it work. Same fix as bug #265511. Tested with Poudriere on armv7 arm64 FreeBSD 13.1. The test suite passes on armv7, but fails on arm64 (seems to be a problem with type sizes on 64 bit platforms). Committer may consider adding a BROKEN_arm64 at his discretion.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9df2db274cc6c2ad040ea8ce7e18c22869c3a9fb commit 9df2db274cc6c2ad040ea8ce7e18c22869c3a9fb Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-08-04 05:59:22 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-08-05 05:54:21 +0000 emulators/darcnes: fix build on recent FreeBSD The port requires GNU89 semantics. PR: 265586 Reported by: fuz@fuz.su (maintainer) emulators/darcnes/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Committed, Thanks!