Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2022 20:21:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267442] games/barony: fix build on armv7
Message-ID:  <bug-267442-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267442

            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=3D237728&action=
=3Dedit
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267442-7788>