Summary: | lang/clang35: Allow building on recent head | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
Component: | Individual Port(s) | Assignee: | Brooks Davis <brooks> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Flags: | bugzilla:
maintainer-feedback?
(brooks) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: brooks Date: Wed Feb 22 00:49:42 UTC 2017 New revision: 434557 URL: https://svnweb.freebsd.org/changeset/ports/434557 Log: Fix build on recent HEAD. PR: 217236 Submitted by: dim Changes: head/devel/llvm35/files/patch-svn-218295 head/lang/clang35/Makefile head/lang/clang35/files/patch-svn-218295 Thanks for the fix. |
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.