Bug 234387 - emulators/nestopia: fix build with GCC-based architectures
Summary: emulators/nestopia: 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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-25 11:15 UTC by Piotr Kubaj
Modified: 2018-12-26 12:24 UTC (History)
2 users (show)

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


Attachments
patch (563 bytes, patch)
2018-12-25 11:15 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-12-25 11:15:24 UTC
Created attachment 200488 [details]
patch

Remove -Wno-narrowing which is unsupported by base GCC and add USE_CXXSTD=c++98, which makes this port build with both base GCC and Clang.

While here, add USES=gl gnome.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2018-12-26 12:24:24 UTC
A commit references this bug:

Author: linimon
Date: Wed Dec 26 12:23:45 UTC 2018
New revision: 488378
URL: https://svnweb.freebsd.org/changeset/ports/488378

Log:
  Remove -Wno-narrowing which is unsupported by base GCC and add
  USE_CXXSTD=c++98, which makes this port build with both base GCC
  and Clang.

  While here, add USES=gl gnome.

  PR:		234387
  Submitted by:	Piotr Kubaj

Changes:
  head/emulators/nestopia/Makefile