MFH: r524531

games/openfodder: unbreak with GCC after r521658

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);
      |           ^~~~~~~~~

PR:		243670
Submitted by:	pkubaj
Approved by:	ports-secteam blanket
This commit is contained in:
Jan Beich 2020-01-29 03:38:41 +00:00
parent e2bb21bcee
commit bc3de934a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=524532
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,9 @@ PORTNAME= OpenFodder
DISTVERSION= 1.6.0
CATEGORIES= games
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 129d50b3ba09.patch:-p1
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Open source port of Cannon Fodder

View File

@ -5,3 +5,5 @@ SHA256 (OpenFodder-data-1.7.0_GH0.tar.gz) = a5d39084e4d0e272ac8fa86f931e86923b70
SIZE (OpenFodder-data-1.7.0_GH0.tar.gz) = 3384943
SHA256 (OpenFodder-scripts-c6f3076_GH0.tar.gz) = 3fbb82605c8bfbc3404220cee2044c368f0f82cdf23f9adcb6144e7743cf9c71
SIZE (OpenFodder-scripts-c6f3076_GH0.tar.gz) = 50622
SHA256 (129d50b3ba09.patch) = afa517e4025e99847e60ca946101e765cf9194d57671ac5c538940136b5a03e7
SIZE (129d50b3ba09.patch) = 1050