Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/gcc: gcc-4.9.3.ebuild ChangeLog
Date: Thu, 02 Jul 2015 03:19:03
Message-Id: 20150702031853.6B10374B@oystercatcher.gentoo.org
1 blueness 15/07/02 03:18:53
2
3 Modified: ChangeLog
4 Added: gcc-4.9.3.ebuild
5 Log:
6 Version bump. Bug #553744.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.1082 sys-devel/gcc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.1082&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.1082&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?r1=1.1081&r2=1.1082
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v
20 retrieving revision 1.1081
21 retrieving revision 1.1082
22 diff -u -r1.1081 -r1.1082
23 --- ChangeLog 24 Jun 2015 13:42:48 -0000 1.1081
24 +++ ChangeLog 2 Jul 2015 03:18:53 -0000 1.1082
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-devel/gcc
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.1081 2015/06/24 13:42:48 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.1082 2015/07/02 03:18:53 blueness Exp $
30 +
31 +*gcc-4.9.3 (02 Jul 2015)
32 +
33 + 02 Jul 2015; Anthony G. Basile <blueness@g.o> +gcc-4.9.3.ebuild:
34 + Version bump. Bug #553744.
35
36 *gcc-4.8.5 (24 Jun 2015)
37
38
39
40
41 1.1 sys-devel/gcc/gcc-4.9.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.9.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.9.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gcc-4.9.3.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.9.3.ebuild,v 1.1 2015/07/02 03:18:53 blueness Exp $
51
52 EAPI="4"
53
54 PATCH_VER="1.0"
55 UCLIBC_VER="1.0"
56
57 # Hardened gcc 4 stuff
58 PIE_VER="0.6.2"
59 SPECS_VER="0.2.0"
60 SPECS_GCC_VER="4.4.3"
61 # arch/libc configurations known to be stable with {PIE,SSP}-by-default
62 PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64"
63 PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64"
64 SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
65 # uclibc need tls and nptl support for SSP support
66 # uclibc need to be >= 0.9.33
67 SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
68 #end Hardened stuff
69
70 inherit eutils toolchain
71
72 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
73
74 RDEPEND=""
75 DEPEND="${RDEPEND}
76 elibc_glibc? ( >=sys-libs/glibc-2.8 )
77 >=${CATEGORY}/binutils-2.20"
78
79 if [[ ${CATEGORY} != cross-* ]] ; then
80 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
81 fi
82
83 src_prepare() {
84 if has_version '<sys-libs/glibc-2.12' ; then
85 ewarn "Your host glibc is too old; disabling automatic fortify."
86 ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
87 EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
88 fi
89
90 toolchain_src_prepare
91
92 use vanilla && return 0
93 #Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.
94 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch
95 }