[Bug 222402] games/simutrans: Fix build on -CURRENT after llvm 5.x import

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 21 23:27:39 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222402

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Thu Sep 21 23:26:46 UTC 2017
New revision: 450309
URL: https://svnweb.freebsd.org/changeset/ports/450309

Log:
  games/simutrans: unbreak with libc++ 5.0

  In file included from squirrel/squirrel/sqvm.cc:5:
  In file included from /usr/include/c++/v1/math.h:310:
  /usr/include/c++/v1/limits:233:91: error: member reference base type 'int' is
not a structure or union
      _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN()
_NOEXCEPT {return type(0);}
                                                                               
            ^~~~~~~
  squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
  #define type(obj) ((obj)._type)
                     ~~~~~^~~~~~

  PR:           222402
  Submitted by: chardon.frederic at gmail.com
  Reported by:  pkg-fallout

Changes:
  head/games/simutrans/files/patch-squirrel_squirrel_sqvm.cpp

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


More information about the freebsd-ports-bugs mailing list