[Bug 265586] emulators/darcnes: fix build on recent FreeBSD

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Aug 2022 04:31:08 UTC

            Bug ID: 265586
           Summary: emulators/darcnes: fix build on recent FreeBSD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
 Attachment #235647 maintainer-approval+

Created attachment 235647
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235647&action=edit
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.

You are receiving this mail because:
You are the assignee for the bug.