commit: 6407ad21bb14a7dc0e62c90084ce6a743715c27a
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 1 13:15:51 2017 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan 1 13:16:38 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6407ad21
sys-devel/binutils-apple: workaround llvm-3.9.{0,1} bug
Package-Manager: portage-2.2.28-prefix
sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
index 2d54d8c..9eb28b9 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -78,6 +78,12 @@ src_prepare() {
epatch "${S}"/ld64-241.9-cc_md5.patch
epatch "${S}"/ld64-264.3.102-bitcode-case.patch
+ # workound llvm-3.9.{0,1} issue
+ # https://bugs.gentoo.org/show_bug.cgi?id=603580
+ # https://groups.google.com/forum/#!topic/llvm-dev/JY6nuKE__sU
+ #
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160829/169553.html
+ sed -i -e '/COMPILE_TIME_ASSERT/d' ld/parsers/libunwind/*.hpp || die
+
# provide missing headers from libunwind and dyld
mkdir -p include/{mach,mach-o/arm} || die
# never present because it's private