Bug 231988

Summary: games/manaplus: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp, linimon, monwarez
Priority: --- Keywords: patch
Version: LatestFlags: monwarez: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer 2018-10-05 22:43:24 UTC
Created attachment 197824 [details]
patch

Building this port with base GCC fails, newer compiler is needed. Add USES=compiler:c++11-lang to fix it.

While here, add USES=gl.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Thibault Payet 2018-10-05 23:02:29 UTC
Comment on attachment 197824 [details]
patch

Nice catch
Comment 2 Thibault Payet 2018-10-14 21:39:37 UTC
Comment on attachment 197824 [details]
patch

Patch approved ( I can't get the maintainer-approval flags working)
Comment 3 Mateusz Piotrowski freebsd_committer 2018-10-14 22:34:00 UTC
Differential revision: https://reviews.freebsd.org/D17559
Comment 4 commit-hook freebsd_committer 2018-11-05 20:19:40 UTC
A commit references this bug:

Author: linimon
Date: Mon Nov  5 20:19:27 UTC 2018
New revision: 484218
URL: https://svnweb.freebsd.org/changeset/ports/484218

Log:
  Building this port with base GCC fails -- a newer compiler is needed.
  Add USES=compiler:c++11-lang to fix it.

  While here, add USES=gl.

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

Changes:
  head/games/manaplus/Makefile