commit:     19e5c502181d50f98769ad4ccd896e4974f5a2ad
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 15:00:53 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 15:01:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19e5c502

sys-devel/binutils-apple: fix 7.3.1 on case-sensitive filesystems, bug #601804

Package-Manager: portage-2.3.0

 sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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 55be112..ec675e4 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
@@ -30,8 +30,8 @@ LICENSE="APSL-2"
 KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lto test multitarget"
 
-# ld64 can now only be compiled using llvm and libc++ since it massivley uses
-# C++11 language fatures. *But additionally* the as driver now defaults to
+# ld64 can now only be compiled using llvm and libc++ since it massively uses
+# C++11 language features. *But additionally* the as driver now defaults to
 # calling clang as the assembler on many platforms. This can be disabled using
 # -Wa,-Q but since it's default we make llvm a static runtime dependency.
 RDEPEND="sys-devel/binutils-config
@@ -65,6 +65,8 @@ src_prepare() {
        cd "${S}"/${LD64}/src
        cp "${S}"/ld64-136-compile_stubs.h ld/compile_stubs.h
        cp "${S}"/ld64-264.3.101-Makefile Makefile
+       # provide right file for case-sensitive filesystems, bug #601804
+       ( cd ld && ln -s {B,b}itcode.hpp >& /dev/null )
 
        epatch "${S}"/ld64-264.3.101-nolto.patch
        epatch "${S}"/ld64-241.9-extraneous-includes.patch

Reply via email to