Bug 231954 - games/7kaa: fix build on powerpc64
Summary: games/7kaa: fix build on powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-04 18:39 UTC by Piotr Kubaj
Modified: 2018-11-01 04:15 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments
patch (392 bytes, patch)
2018-10-04 18:39 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2018-10-04 18:39:30 UTC
Created attachment 197789 [details]
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.
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

Log:
  Fix build on powerpc64.

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

Changes:
  head/games/7kaa/Makefile