Bug 235668

Summary: games/dhewm3: 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: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-02-11 13:16:37 UTC
Created attachment 201932 [details]
patch

Add USES=compiler:c++11-lang to fix build on GCC architectures.

Also, on powerpc* platforms vecLib/vecLib.h is included by default. This header is only available on Mac OS X, so remove it. It doesn't seem to be actually needed to compile this port.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-02-12 15:20:49 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Feb 12 15:20:28 UTC 2019
New revision: 492784
URL: https://svnweb.freebsd.org/changeset/ports/492784

Log:
  - Add USES=compiler:c++11-lang to fix build on GCC architectures
  - Also, add patch to fix build on powerpc

  PR:		235668
  Submitted by:	pkubaj@anongoth.pl

Changes:
  head/games/dhewm3/Makefile
  head/games/dhewm3/files/patch-renderer_tr__main.cpp