Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2020 12:48:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243670] games/openfodder: fix build on GCC architectures
Message-ID:  <bug-243670-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 243670
           Summary: games/openfodder: fix build on GCC architectures
           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: pkubaj@FreeBSD.org

Created attachment 211129
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211129&action=
=3Dedit
patch

GCC9 needs sys/types.h in Source/Utils/SimplexIslands.hpp for int32_t:
In file included from Source/Utils/SimplexIslands.cpp:2:
Source/Utils/SimplexIslands.hpp:65:16: error: 'int32_t' does not name a type
   65 |  static inline int32_t fastfloor(double fp) {
      |                ^~~~~~~
Source/Utils/SimplexIslands.hpp: In member function 'double
SimplexIslands::noise(double, double)':
Source/Utils/SimplexIslands.hpp:79:11: error: 'fastfloor' was not declared =
in
this scope
   79 |   int i =3D fastfloor(xin + s);
      |           ^~~~~~~~~

--=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-243670-7788>