Created attachment 169382 [details] Rename abs functions to avoid conflicts in graphics/inventor During the exp-run in bug 208158, it was found that graphics/inventor gives errors with libc++ 3.8.0 [1]: In file included from nurbsClient.c++:64: ./softsurfeval.c++:53:13: error: 'abs' is missing exception specification 'throw()' inline REAL abs( REAL x ) { return (x < 0.0) ? -x : x; } ^ throw() This is because inventor attempts to define its own incompatible version of abs(). Fix it by renaming the inventor-internal version to absr(). [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/inventor-2.1.5.p10_12.log
Committed, thanks!
A commit references this bug: Author: pi Date: Sat Apr 30 04:30:59 UTC 2016 New revision: 414327 URL: https://svnweb.freebsd.org/changeset/ports/414327 Log: graphics/inventor: Fix build with libc++ 3.8.0 PR: 208845 Submitted by: dim Approved by: c47g@gmx.at (maintainer timeout) Changes: head/graphics/inventor/files/patch-arc.c++ head/graphics/inventor/files/patch-arctess.c++ head/graphics/inventor/files/patch-ccw.c++ head/graphics/inventor/files/patch-simplemath.h head/graphics/inventor/files/patch-softsurfeval.c++