summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2015-03-01 09:15:22 +0000
committerFabian Groffen <grobian@gentoo.org>2015-03-01 09:15:22 +0000
commit8bbed6f8ddfdde1aa8099ba2e534bcf01d9ec62f (patch)
tree00b11fb97bd0a6520fc49a66c402b5363ccecb02 /sys-libs/csu/csu-85.ebuild
parentAdd ruby20, ruby21. Add missing keywords and drop ppc, ppc64 accordingly, bug... (diff)
downloadgentoo-2-8bbed6f8ddfdde1aa8099ba2e534bcf01d9ec62f.tar.gz
gentoo-2-8bbed6f8ddfdde1aa8099ba2e534bcf01d9ec62f.tar.bz2
gentoo-2-8bbed6f8ddfdde1aa8099ba2e534bcf01d9ec62f.zip
Take simpler approach to fix Availability.h header problem by Michael Weiser, bug #538602
(Portage version: 2.2.14-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'sys-libs/csu/csu-85.ebuild')
-rw-r--r--sys-libs/csu/csu-85.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-libs/csu/csu-85.ebuild b/sys-libs/csu/csu-85.ebuild
index 052e22dd7b3b..8db643476cbe 100644
--- a/sys-libs/csu/csu-85.ebuild
+++ b/sys-libs/csu/csu-85.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v 1.2 2015/02/28 10:53:58 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v 1.3 2015/03/01 09:15:22 grobian Exp $
EAPI=5
@@ -25,9 +25,8 @@ src_prepare() {
-e '/^CC = /d' \
Makefile || die
- # deal with Availability.h missing
- echo "#include <Availability.h>" | $(tc-getCC) -o - -c -x c - >& /dev/null \
- || epatch "${FILESDIR}"/${P}-darwin8.patch
+ # only require Availability.h for arm, bugs #538602, #539964
+ epatch "${FILESDIR}"/${P}-arm-availability.patch
if [[ ${CHOST} == powerpc* ]] ; then
# *must not* be compiled with -Os on PPC because that