diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-21 13:52:54 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-21 14:53:36 +0200 |
commit | 5a54cf24f38df1155f8242e6cc38366b7943e243 (patch) | |
tree | d7208bff23831b4b27375f5524713d62886d549c /sys-devel | |
parent | sys-devel/llvm: Update distribution components for 15.x (diff) | |
download | gentoo-5a54cf24f38df1155f8242e6cc38366b7943e243.tar.gz gentoo-5a54cf24f38df1155f8242e6cc38366b7943e243.tar.bz2 gentoo-5a54cf24f38df1155f8242e6cc38366b7943e243.zip |
sys-devel/clang: Add a workaround for broken test source in 15.x
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/clang/clang-15.0.0.9999.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-15.0.0.9999.ebuild b/sys-devel/clang/clang-15.0.0.9999.ebuild index e1960cb92f18..7527c0955a4d 100644 --- a/sys-devel/clang/clang-15.0.0.9999.ebuild +++ b/sys-devel/clang/clang-15.0.0.9999.ebuild @@ -89,6 +89,14 @@ src_prepare() { mkdir -p x/y || die BUILD_DIR=${WORKDIR}/x/y/clang + # workaround another developer believing it's a great idea to use + # private LLVM headers in clang + # https://reviews.llvm.org/D120185 + mkdir -p unittests/ASTMatchers/llvm/Config || die + cat > unittests/ASTMatchers/llvm/Config/config.h <<-EOF || die + #define ENABLE_BACKTRACES 1 + EOF + llvm.org_src_prepare # add Gentoo Portage Prefix for Darwin (see prefix-dirs.patch) |