Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/csu: csu-85.ebuild ChangeLog
Date: Sat, 28 Feb 2015 10:54:07
Message-Id: 20150228105358.9B8D412BAC@oystercatcher.gentoo.org
1 grobian 15/02/28 10:53:58
2
3 Modified: csu-85.ebuild ChangeLog
4 Log:
5 Let the compiler determine if Availability.h is available for a more reliable result, bug #539964
6
7 (Portage version: 2.2.14-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
8
9 Revision Changes Path
10 1.2 sys-libs/csu/csu-85.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/csu-85.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/csu-85.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/csu-85.ebuild?r1=1.1&r2=1.2
15
16 Index: csu-85.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- csu-85.ebuild 3 Feb 2015 21:04:09 -0000 1.1
23 +++ csu-85.ebuild 28 Feb 2015 10:53:58 -0000 1.2
24 @@ -1,10 +1,10 @@
25 # Copyright 1999-2015 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v 1.1 2015/02/03 21:04:09 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v 1.2 2015/02/28 10:53:58 grobian Exp $
29
30 EAPI=5
31
32 -inherit eutils
33 +inherit toolchain-funcs eutils
34
35 DESCRIPTION="Darwin Csu (crt1.o) - Mac OS X 10.10 version"
36 HOMEPAGE="http://www.opensource.apple.com/"
37 @@ -25,19 +25,18 @@
38 -e '/^CC = /d' \
39 Makefile || die
40
41 - if [[ ${CHOST##*-darwin} -le 8 ]] ; then
42 - # Availability.h missing
43 - epatch "${FILESDIR}"/${P}-darwin8.patch
44 -
45 - if [[ ${CHOST} == powerpc* ]] ; then
46 - # *must not* be compiled with -Os on PPC because that
47 - # will optimize out
48 - # _pointer_to__darwin_gcc3_preregister_frame_info which
49 - # causes linker errors for large programs because the
50 - # jump to ___darwin_gcc3_preregister_frame_info gets to
51 - # be more than 16MB away
52 - sed -i -e "s, -Os , -O ,g" Makefile || die
53 - fi
54 + # deal with Availability.h missing
55 + echo "#include <Availability.h>" | $(tc-getCC) -o - -c -x c - >& /dev/null \
56 + || epatch "${FILESDIR}"/${P}-darwin8.patch
57 +
58 + if [[ ${CHOST} == powerpc* ]] ; then
59 + # *must not* be compiled with -Os on PPC because that
60 + # will optimize out
61 + # _pointer_to__darwin_gcc3_preregister_frame_info which
62 + # causes linker errors for large programs because the
63 + # jump to ___darwin_gcc3_preregister_frame_info gets to
64 + # be more than 16MB away
65 + sed -i -e "s, -Os , -O ,g" Makefile || die
66 fi
67 }
68
69
70
71
72 1.9 sys-libs/csu/ChangeLog
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/ChangeLog?rev=1.9&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/ChangeLog?rev=1.9&content-type=text/plain
76 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/ChangeLog?r1=1.8&r2=1.9
77
78 Index: ChangeLog
79 ===================================================================
80 RCS file: /var/cvsroot/gentoo-x86/sys-libs/csu/ChangeLog,v
81 retrieving revision 1.8
82 retrieving revision 1.9
83 diff -u -r1.8 -r1.9
84 --- ChangeLog 3 Feb 2015 21:04:09 -0000 1.8
85 +++ ChangeLog 28 Feb 2015 10:53:58 -0000 1.9
86 @@ -1,6 +1,10 @@
87 # ChangeLog for sys-libs/csu
88 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
89 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/ChangeLog,v 1.8 2015/02/03 21:04:09 grobian Exp $
90 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/ChangeLog,v 1.9 2015/02/28 10:53:58 grobian Exp $
91 +
92 + 28 Feb 2015; Fabian Groffen <grobian@g.o> csu-85.ebuild:
93 + Let the compiler determine if Availability.h is available for a more reliable
94 + result, bug #539964
95
96 *csu-85 (03 Feb 2015)