Bug 225485 - games/oolite: Unbreak build with Clang 6 (C++14 by default)
Summary: games/oolite: Unbreak build with Clang 6 (C++14 by default)
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: Guido Falsi
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-01-27 09:05 UTC by lightside
Modified: 2018-01-27 11:20 UTC (History)
1 user (show)

See Also:


Attachments
Proposed patch (since 457594 revision) (326 bytes, patch)
2018-01-27 09:05 UTC, lightside
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lightside 2018-01-27 09:05:01 UTC
Created attachment 190101 [details]
Proposed patch (since 457594 revision)

Patch to unbreak build with Clang 6 for games/oolite port. Caused by base r327952 changes.
The Clang 6 uses -std=gnu++14 for C++ files by default:
https://github.com/llvm-mirror/clang/commit/466d8da5f89b1a780f735c86f414fa69ce63221b

Reported by pkg-fallout (FreeBSD 12.0-CURRENT 1200056 amd64):
https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20180122/634411.html
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p459717_s328266/logs/oolite-1.86.log

- Add USE_CXXSTD=gnu++98

The PORTREVISION bump is not required.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-01-27 11:19:49 UTC
A commit references this bug:

Author: madpilot
Date: Sat Jan 27 11:19:06 UTC 2018
New revision: 460106
URL: https://svnweb.freebsd.org/changeset/ports/460106

Log:
  Fix build with clang 6.

  PR:		225485
  Submitted by:	lightside <lightside@gmx.com>

Changes:
  head/games/oolite/Makefile
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2018-01-27 11:20:26 UTC
Committed. Thanks!