[Bug 232016] games/nxengine: fix build with powerpc64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 6 19:16:26 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232016
Bug ID: 232016
Summary: games/nxengine: fix build with powerpc64
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: lifanov at freebsd.org
Reporter: pkubaj at anongoth.pl
Flags: maintainer-feedback?(lifanov at freebsd.org)
Assignee: lifanov at freebsd.org
Created attachment 197851
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197851&action=edit
patch
Building this port on powerpc64 currently fails with:
/tmp/usr/local/poudriere/ports/default/games/nxengine/work/nxengine-evo-2.6.3/src/player.cpp:763:53:
error: narrowing conversion of '-1' from 'int' to 'char' i
nside { } [-Wnarrowing]
{ LEFTKEY, RIGHTKEY, UPKEY, JUMPKEY, FIREKEY, -1 };
^
Fix this by adding -Wno-error=narrowing to CXXFLAGS for powerpc64.
Hardware sponsored by IntegriCloud.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list