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