Bug 231954

Summary: games/7kaa: fix build on powerpc64
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
patch none

Description Piotr Kubaj freebsd_committer 2018-10-04 18:39:30 UTC
Created attachment 197789 [details]

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.
Comment 1 commit-hook freebsd_committer 2018-11-01 04:15:02 UTC
A commit references this bug:

Author: linimon
Date: Thu Nov  1 04:13:59 UTC 2018
New revision: 483636
URL: https://svnweb.freebsd.org/changeset/ports/483636

  Fix build on powerpc64.

  PR:		231954
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)