Bug 234389

Summary: games/nimuh: 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: amdmi3: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-12-25 11:38:35 UTC
Created attachment 200490 [details]
patch

USES=compiler:c++11-lang is necessary to build on GCC architectures.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2018-12-25 11:40:29 UTC
Sorry, wrong template for PR message...

-Wno-c++11-narrowing is not supported by GCC. Set USE_CXXSTD=c++98 to build with both GCC and Clang.

While here, add USES=gl.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-12-25 16:12:28 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Dec 25 16:11:46 UTC 2018
New revision: 488327
URL: https://svnweb.freebsd.org/changeset/ports/488327

Log:
  - Fix build with GCC-based architectures
  - Add USES=gl

  PR:		234389
  Submitted by:	pkubaj@anongoth.pl

Changes:
  head/games/nimuh/Makefile