[Bug 243670] games/openfodder: fix build on GCC architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 28 12:48:42 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243670
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 at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
Created attachment 211129
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211129&action=edit
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 = fastfloor(xin + s);
| ^~~~~~~~~
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list