Summary: | games/spacejunk: fix build with GCC-based architectures | ||||||||
---|---|---|---|---|---|---|---|---|---|
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 | ||||||||
Attachments: |
|
Created attachment 198220 [details]
v2
Small correction, additional fix is necessary.
A commit references this bug: Author: linimon Date: Sun Oct 28 19:35:20 UTC 2018 New revision: 483328 URL: https://svnweb.freebsd.org/changeset/ports/483328 Log: Fix build on powerpc64. PR: 232325 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/games/spacejunk/Makefile head/games/spacejunk/files/patch-src_pmask.h |
Created attachment 198215 [details] patch -Wno-c++11-narrowing is unavailable in base GCC. It's enough to add USE_CXXSTD=c++98, this makes this port build with both base GCC and LLVM. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.