Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/gcc: gcc-4.6.2.ebuild gcc-4.6.0.ebuild gcc-4.6.1-r1.ebuild ChangeLog
Date: Sat, 03 Dec 2011 20:28:17
Message-Id: 20111203202807.CF3C02004C@flycatcher.gentoo.org
1 vapier 11/12/03 20:28:07
2
3 Modified: gcc-4.6.2.ebuild gcc-4.6.0.ebuild
4 gcc-4.6.1-r1.ebuild ChangeLog
5 Log:
6 Disable fortify patches with older glibcs #362315 by Leonid Volnitsky.
7
8 (Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 sys-devel/gcc/gcc-4.6.2.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild?r1=1.2&r2=1.3
16
17 Index: gcc-4.6.2.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- gcc-4.6.2.ebuild 9 Nov 2011 19:22:57 -0000 1.2
24 +++ gcc-4.6.2.ebuild 3 Dec 2011 20:28:07 -0000 1.3
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v 1.2 2011/11/09 19:22:57 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v 1.3 2011/12/03 20:28:07 vapier Exp $
30
31 PATCH_VER="1.0"
32 UCLIBC_VER="1.0"
33 @@ -36,6 +36,12 @@
34 fi
35
36 src_unpack() {
37 + if has_version '<sys-libs/glibc-2.12' ; then
38 + ewarn "Your host glibc is too old; disabling automatic fortify."
39 + ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
40 + EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
41 + fi
42 +
43 toolchain_src_unpack
44
45 use vanilla && return 0
46
47
48
49 1.7 sys-devel/gcc/gcc-4.6.0.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild?rev=1.7&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild?rev=1.7&content-type=text/plain
53 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild?r1=1.6&r2=1.7
54
55 Index: gcc-4.6.0.ebuild
56 ===================================================================
57 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild,v
58 retrieving revision 1.6
59 retrieving revision 1.7
60 diff -u -r1.6 -r1.7
61 --- gcc-4.6.0.ebuild 9 Nov 2011 19:22:57 -0000 1.6
62 +++ gcc-4.6.0.ebuild 3 Dec 2011 20:28:07 -0000 1.7
63 @@ -1,6 +1,6 @@
64 # Copyright 1999-2011 Gentoo Foundation
65 # Distributed under the terms of the GNU General Public License v2
66 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild,v 1.6 2011/11/09 19:22:57 vapier Exp $
67 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild,v 1.7 2011/12/03 20:28:07 vapier Exp $
68
69 PATCH_VER="1.2"
70 UCLIBC_VER="1.0"
71 @@ -36,6 +36,12 @@
72 fi
73
74 src_unpack() {
75 + if has_version '<sys-libs/glibc-2.12' ; then
76 + ewarn "Your host glibc is too old; disabling automatic fortify."
77 + ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
78 + EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
79 + fi
80 +
81 toolchain_src_unpack
82
83 use vanilla && return 0
84
85
86
87 1.4 sys-devel/gcc/gcc-4.6.1-r1.ebuild
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild?rev=1.4&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild?rev=1.4&content-type=text/plain
91 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild?r1=1.3&r2=1.4
92
93 Index: gcc-4.6.1-r1.ebuild
94 ===================================================================
95 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild,v
96 retrieving revision 1.3
97 retrieving revision 1.4
98 diff -u -r1.3 -r1.4
99 --- gcc-4.6.1-r1.ebuild 9 Nov 2011 19:22:57 -0000 1.3
100 +++ gcc-4.6.1-r1.ebuild 3 Dec 2011 20:28:07 -0000 1.4
101 @@ -1,6 +1,6 @@
102 # Copyright 1999-2011 Gentoo Foundation
103 # Distributed under the terms of the GNU General Public License v2
104 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild,v 1.3 2011/11/09 19:22:57 vapier Exp $
105 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild,v 1.4 2011/12/03 20:28:07 vapier Exp $
106
107 PATCH_VER="1.0"
108 UCLIBC_VER="1.0"
109 @@ -36,6 +36,12 @@
110 fi
111
112 src_unpack() {
113 + if has_version '<sys-libs/glibc-2.12' ; then
114 + ewarn "Your host glibc is too old; disabling automatic fortify."
115 + ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
116 + EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
117 + fi
118 +
119 toolchain_src_unpack
120
121 use vanilla && return 0
122
123
124
125 1.836 sys-devel/gcc/ChangeLog
126
127 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.836&view=markup
128 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.836&content-type=text/plain
129 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?r1=1.835&r2=1.836
130
131 Index: ChangeLog
132 ===================================================================
133 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v
134 retrieving revision 1.835
135 retrieving revision 1.836
136 diff -u -r1.835 -r1.836
137 --- ChangeLog 3 Dec 2011 02:36:35 -0000 1.835
138 +++ ChangeLog 3 Dec 2011 20:28:07 -0000 1.836
139 @@ -1,6 +1,10 @@
140 # ChangeLog for sys-devel/gcc
141 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
142 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.835 2011/12/03 02:36:35 vapier Exp $
143 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.836 2011/12/03 20:28:07 vapier Exp $
144 +
145 + 03 Dec 2011; Mike Frysinger <vapier@g.o> gcc-4.6.0.ebuild,
146 + gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild:
147 + Disable fortify patches with older glibcs #362315 by Leonid Volnitsky.
148
149 03 Dec 2011; Mike Frysinger <vapier@g.o> gcc-4.0.4.ebuild,
150 gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild: