Created attachment 169451 [details] Use <cmath> instead of <math.h> to get std::isnan During the exp-run in bug 208158, it was found that graphics/opencollada gives errors with libc++ 3.8.0 [1]: /wrkdirs/usr/ports/graphics/opencollada/work/OpenCOLLADA-a59a438/GeneratedSaxParser/src/GeneratedSaxParserUtils.cpp:1559:16: error: no member named 'isnan' in namespace 'std'; did you mean simply 'isnan'? return std::isnan(value); ^~~~~~~~~~ isnan This is because opencollada's GeneratedSaxParserUtils.cpp includes <math.h>, not <cmath>. The latter defines std::isnan(), so use it instead. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/opencollada-1.2.2.20150519.log
testbuilds are fine.
A commit references this bug: Author: pi Date: Thu May 5 19:52:01 UTC 2016 New revision: 414660 URL: https://svnweb.freebsd.org/changeset/ports/414660 Log: graphics/opencollada: Fix build with libc++ 3.8.0 PR: 208905 Submitted by: dim Approved by: mva (maintainer timeout) Changes: head/graphics/opencollada/files/patch-GeneratedSaxParser_src_GeneratedSaxParserUtils.cpp
Committed, thanks!