Created attachment 186458 [details]
Correct spinlock init for C++11
See upstream pull request: https://github.com/appleseedhq/appleseed/pull/1615
Also see attached patch for the ports tree. Tested with poudriere on FreeBSD 10.3 and 11.1.
Thanks; I'll incorporate the patch together with upcoming update to version 1.6.0 (not the latest, but that's not possible at this moment due to missing RTTI support in LLVM/OSL).
A commit references this bug:
Date: Mon Nov 13 15:36:11 UTC 2017
New revision: 454120
- Belatedly update `graphics/appleseed' to version 1.6.0, the latest
version where OSL support is optional (further updates require RTTI
enabled in both LLVM and OSL, and thus currently not possible)
- Allow to build in C++11 mode and backport a patch to fix spinlock
initialization to match the way it is initialized internally by
Boost: copy and assignment operators are deleted, which this logic
was attempting to use (in fact, it's surprising that it was working
before because it was most likely not possible even with C++98,
unless this is a very recent change in Boost) [*]
- While here, adjust OSL_BROKEN message to give the specific reason
PR: 222392 [*]
Submitted by: Roger Leigh
Patch had been committed as part of ports r454120, thanks!