[Bug 231954] games/7kaa: fix build on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 4 18:39:33 UTC 2018


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

            Bug ID: 231954
           Summary: games/7kaa: fix build on powerpc64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3 at FreeBSD.org
          Reporter: pkubaj at anongoth.pl
          Assignee: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)

Created attachment 197789
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197789&action=edit
patch

Building on powerpc64 causes following errors:
(00:09:33) OBULLET.cpp:41:78: error: narrowing conversion of '-1' from 'int' to
'char' inside { } [-Wnarrowing]
(00:09:33) OBULLET.cpp:41:78: error: narrowing conversion of '-1' from 'int' to
'char' inside { } [-Wnarrowing]

Use CXXFLAGS_powerpc64=-Wno-error=narrowing to fix it.

Tested on powerpc64 and amd64.

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