summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-01-27 13:56:43 +0100
committerFabian Groffen <grobian@gentoo.org>2016-01-27 13:57:19 +0100
commitbbb958a0997c59b923c3eb64e20870d976258bf1 (patch)
treefaa3607f794f09ebad91f9b9f75a036e718fd94a /sys-devel
parentsys-cluster/ipvsadm: fix libnl3 detection #497890, version bump fix #565464 (diff)
downloadgentoo-bbb958a0997c59b923c3eb64e20870d976258bf1.tar.gz
gentoo-bbb958a0997c59b923c3eb64e20870d976258bf1.tar.bz2
gentoo-bbb958a0997c59b923c3eb64e20870d976258bf1.zip
sys-devel/llvm: add darwin patch to 3.7.1
Package-Manager: portage-2.2.20-prefix
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/llvm/llvm-3.7.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-devel/llvm/llvm-3.7.1.ebuild b/sys-devel/llvm/llvm-3.7.1.ebuild
index fa15adf29fa..e4697d0e791 100644
--- a/sys-devel/llvm/llvm-3.7.1.ebuild
+++ b/sys-devel/llvm/llvm-3.7.1.ebuild
@@ -8,7 +8,7 @@ EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit check-reqs cmake-utils eutils flag-o-matic multilib \
- multilib-minimal python-single-r1 toolchain-funcs pax-utils
+ multilib-minimal python-single-r1 toolchain-funcs pax-utils prefix
DESCRIPTION="Low Level Virtual Machine"
HOMEPAGE="http://llvm.org/"
@@ -182,6 +182,9 @@ src_prepare() {
epatch "${FILESDIR}"/clang-3.6-gentoo-install.patch
+ epatch "${FILESDIR}"/clang-3.4-darwin_prefix-include-paths.patch
+ eprefixify tools/clang/lib/Frontend/InitHeaderSearch.cpp
+
sed -i -e "s^@EPREFIX@^${EPREFIX}^" \
tools/clang/tools/scan-build/scan-build || die