From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 91D76158095 for ; Thu, 21 Jul 2022 12:53:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADD0DE08ED; Thu, 21 Jul 2022 12:53:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D031BE08ED for ; Thu, 21 Jul 2022 12:53:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 088F0340E7A for ; Thu, 21 Jul 2022 12:53:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34FBE549 for ; Thu, 21 Jul 2022 12:53:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1658408016.5a54cf24f38df1155f8242e6cc38366b7943e243.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-15.0.0.9999.ebuild X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5a54cf24f38df1155f8242e6cc38366b7943e243 X-VCS-Branch: master Date: Thu, 21 Jul 2022 12:53:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f0894448-fde1-45e8-bc5a-b6f59f90a242 X-Archives-Hash: 618263421efee70b4d83f9224d9d7505 commit: 5a54cf24f38df1155f8242e6cc38366b7943e243 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 21 11:52:54 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 21 12:53:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a54cf24 sys-devel/clang: Add a workaround for broken test source in 15.x Signed-off-by: Michał Górny gentoo.org> sys-devel/clang/clang-15.0.0.9999.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) 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)