Bug 238539

Summary: games/wop: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: amdmi3
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (amdmi3)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-06-13 07:49:03 UTC
Created attachment 205027 [details]
patch

Add -Wno-c++11-narrowing -Wno-reserved-user-defined-literal only when using clang, it fails with base gcc.

While here, add USES=sdl.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-06-13 12:13:18 UTC
There was a race condition between pkubaj and I working on the same problem.  I had already committed the flags patch.

I will commit the USES patch though; I must have missed seeing it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-06-13 12:15:19 UTC
A commit references this bug:

Author: linimon
Date: Thu Jun 13 12:14:55 UTC 2019
New revision: 504083
URL: https://svnweb.freebsd.org/changeset/ports/504083

Log:
  Add sdl to USES.

  PR 238539 came in right after I had independently done the flags commit.
  So, commit this part of that PR to clean up after myself.

  PR:		238539
  Submitted by:	pkubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/games/wop/Makefile