[Bug 267442] games/barony: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Oct 2022 20:21:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267442

            Bug ID: 267442
           Summary: games/barony: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: devnexen@gmail.com
                CC: devnexen@gmail.com
             Flags: maintainer-feedback?(devnexen@gmail.com)
 Attachment #237728 maintainer-approval?(devnexen@gmail.com)
             Flags:
             Flags: exp-run?

Created attachment 237728
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237728&action=edit
games/barony: fix build on armv7

The type real_t is float on ARM but double on other platforms.  Pepper in a
bunch of extra casts to make clang happy.

The alternative of making real_t a double on ARM does not work.

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if possible.

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