| Summary: | graphics/osg: add USES=compiler:c++11-lang | ||||||
|---|---|---|---|---|---|---|---|
| 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: |
|
||||||
A commit references this bug: Author: linimon Date: Fri Nov 2 01:50:56 UTC 2018 New revision: 483763 URL: https://svnweb.freebsd.org/changeset/ports/483763 Log: USES=compiler:c++11-lang is necessary to link against libosg on GCC-based architectures. To make it build, also add CXXFLAGS_${ARCH}=-Wno-narrowing. PR: 232826 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/graphics/osg/Makefile A commit references this bug: Author: linimon Date: Thu Nov 29 11:23:12 UTC 2018 New revision: 486168 URL: https://svnweb.freebsd.org/changeset/ports/486168 Log: -Wno-narrowing is supported by Clang. Make unconditional and add a comment why it's necessary. PR: 232826 Submitted by: Piotr Kubaj Reported by: jbeich Approved by: portmgr (tier-2 blanket) Changes: head/graphics/osg/Makefile |
Created attachment 198782 [details] patch USES=compiler:c++11-lang is necessary to linking against libosg from devel/simgear on GCC architectures. To make it build, also add CXXFLAGS_${ARCH}=-Wno-narrowing. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.