Summary: | games/njam: fails to build with libc++ 4.0 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | eric |
Priority: | --- | Keywords: | needs-patch |
Version: | Latest | Flags: | amdmi3:
maintainer-feedback+
|
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 216008 |
Description
Jan Beich
2017-01-31 01:39:00 UTC
It doesn't seem to be related to port. The problematic include is in standard library. Maybe drop -D__linux__ from the port as it's a recipe to break system headers. Oh, you're right. On it. A commit references this bug: Author: amdmi3 Date: Wed Feb 1 14:40:48 UTC 2017 New revision: 433038 URL: https://svnweb.freebsd.org/changeset/ports/433038 Log: - Fix build with clang 4.0 by not defining __linux__ - Add LICENSE - Switch to options helpers - Regenerate patches PR: 216651 Submitted by: jbeich@FreeBSD.org Changes: head/games/njam/Makefile head/games/njam/files/patch-src_njamedit.cpp I confirm, it builds fine now with clang/libc++ 4.0. |