Created attachment 180150 [details]
Fix clang35 build on __FreeBSD_version >= 1200017
Not sure if this port is still maintained, but it seems to be required by some other ports (e.g. haskell). For a bug reproduction I needed lang/clang35, but I noticed that it doesn't build anymore on __FreeBSD_version 1200017 or later. This is due to a minor issue in include/llvm/ADT/IntrusiveRefCntPtr.h.
Here is a patch that fixes the header, both in devel/llvm35 and lang/clang35.
A commit references this bug:
Date: Wed Feb 22 00:49:42 UTC 2017
New revision: 434557
Fix build on recent HEAD.
Submitted by: dim
Thanks for the fix.