freebsd-dev/contrib/llvm/patches
Dimitry Andric a27deaebb2 Drop the clang patch which added a custom vendor suffix to the version
printed with -v.  We have historically put a date stamp there (roughly
corresponding to the date of import), but this has never been used for
anything, and the patch has also never been upstreamed, so let's get rid
of it now.
2015-12-30 16:42:09 +00:00
..
patch-07-undo-llvm-r240144-iostream-sigbus.diff Add llvm patch corresponding to r289072. 2015-10-09 21:00:04 +00:00
README.TXT Using trunk for now, instead of 3.7.1. 2015-12-30 14:06:01 +00:00

This is a set of individual patches, which contain all the customizations to
llvm/clang currently in the FreeBSD base system.  These can be applied in
alphabetical order to a pristine llvm/clang trunk source tree, for example by
doing:

svn co https://llvm.org/svn/llvm-project/llvm/trunk llvm-trunk 
svn co https://llvm.org/svn/llvm-project/cfe/trunk llvm-trunk/tools/clang
cd llvm-trunk
for p in /usr/src/contrib/llvm/patches/patch-*.diff; do
	patch -p0 -f -F0 -E -i $p -s || break
done

A number of these consist of hand-written modifications, specifically for
FreeBSD, while most others are cherry pickings off the llvm and clang trunks.
When a new version of llvm/clang is eventually imported, those latter ones will
largely disappear.