Bug 235668 - games/dhewm3: fix build with GCC-based architectures
Summary: games/dhewm3: 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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-11 13:16 UTC by Piotr Kubaj
Modified: 2019-02-14 15:28 UTC (History)
2 users (show)

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


Attachments
patch (1.25 KB, patch)
2019-02-11 13:16 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 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 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