Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Oct 2018 19:16:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232016] games/nxengine: fix build with powerpc64
Message-ID:  <bug-232016-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@freebsd.org
          Reporter: pkubaj@anongoth.pl
             Flags: maintainer-feedback?(lifanov@freebsd.org)
          Assignee: lifanov@freebsd.org

Created attachment 197851
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197851&action=
=3Dedit
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=3Dnarrowing to CXXFLAGS for powerpc64.

Hardware sponsored by IntegriCloud.

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