Bug 232129 - games/toycars: fix build with GCC-based architectures
Summary: games/toycars: fix build with GCC-based architectures
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
Depends on:
Reported: 2018-10-09 21:37 UTC by Piotr Kubaj
Modified: 2018-10-28 19:51 UTC (History)
2 users (show)

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

patch (462 bytes, patch)
2018-10-09 21:37 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-09 21:37:43 UTC
Created attachment 197977 [details]

Base GCC doesn't support -Wno-c++11-narrowing and the port builds without it.
Remove this to keep port bort building. Define USE_CXXSTD=c++98 to keep clang happy.

While here, add USES=gl.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2018-10-28 19:42:23 UTC
A commit references this bug:

Author: linimon
Date: Sun Oct 28 19:41:53 UTC 2018
New revision: 483330
URL: https://svnweb.freebsd.org/changeset/ports/483330

  Fix build with GCC-based architectures.

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