* [gentoo-commits] gentoo-x86 commit in x11-libs/qt: qt-3.3.8-r4.ebuild ChangeLog qt-3.3.8-r3.ebuild qt-4.3.1-r1.ebuild qt-4.3.2.ebuild qt-3.3.4-r8.ebuild
@ 2007-11-10 8:49 Christian Heim (phreak)
0 siblings, 0 replies; only message in thread
From: Christian Heim (phreak) @ 2007-11-10 8:49 UTC (permalink / raw
To: gentoo-commits
phreak 07/11/10 08:49:06
Modified: qt-3.3.8-r4.ebuild ChangeLog qt-3.3.8-r3.ebuild
qt-4.3.1-r1.ebuild qt-4.3.2.ebuild
qt-3.3.4-r8.ebuild
Log:
Workaround the hardened issues with SSP in QT by adding -fno-stack-protector to CFLAGS/CXXFLAGS.
(Portage version: 2.1.3.9)
Revision Changes Path
1.3 x11-libs/qt/qt-3.3.8-r4.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.8-r4.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.8-r4.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.8-r4.ebuild?r1=1.2&r2=1.3
Index: qt-3.3.8-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r4.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- qt-3.3.8-r4.ebuild 15 Sep 2007 00:49:12 -0000 1.2
+++ qt-3.3.8-r4.ebuild 10 Nov 2007 08:49:05 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r4.ebuild,v 1.2 2007/09/15 00:49:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r4.ebuild,v 1.3 2007/11/10 08:49:05 phreak Exp $
# *** Please remember to update qt3.eclass when revbumping this ***
@@ -150,6 +150,12 @@
# set c/xxflags and ldflags
strip-flags
append-flags -fno-strict-aliasing
+
+ if [[ $( gcc-fullversion ) == "3.4.6" && gcc-specs-ssp ]] ; then
+ ewarn "Appending -fno-stack-protector to CFLAGS/CXXFLAGS"
+ append-flags -fno-stack-protector
+ fi
+
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
-e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
1.497 x11-libs/qt/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/ChangeLog?rev=1.497&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/ChangeLog?rev=1.497&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/ChangeLog?r1=1.496&r2=1.497
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v
retrieving revision 1.496
retrieving revision 1.497
diff -u -r1.496 -r1.497
--- ChangeLog 9 Nov 2007 23:11:50 -0000 1.496
+++ ChangeLog 10 Nov 2007 08:49:05 -0000 1.497
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/qt
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.496 2007/11/09 23:11:50 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.497 2007/11/10 08:49:05 phreak Exp $
+
+ 10 Nov 2007; Christian Heim <phreak@gentoo.org> qt-3.3.4-r8.ebuild,
+ qt-3.3.8-r3.ebuild, qt-3.3.8-r4.ebuild, qt-4.3.1-r1.ebuild,
+ qt-4.3.2.ebuild:
+ Workaround the hardened issues with SSP in QT by adding -fno-stack-protector
+ to CFLAGS/CXXFLAGS.
09 Nov 2007; nixnut <nixnut@gentoo.org> qt-4.3.2.ebuild:
Stable on ppc wrt bug 198454
1.10 x11-libs/qt/qt-3.3.8-r3.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.8-r3.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.8-r3.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.8-r3.ebuild?r1=1.9&r2=1.10
Index: qt-3.3.8-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r3.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- qt-3.3.8-r3.ebuild 7 Sep 2007 17:39:36 -0000 1.9
+++ qt-3.3.8-r3.ebuild 10 Nov 2007 08:49:05 -0000 1.10
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r3.ebuild,v 1.9 2007/09/07 17:39:36 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r3.ebuild,v 1.10 2007/11/10 08:49:05 phreak Exp $
# *** Please remember to update qt3.eclass when revbumping this ***
@@ -147,6 +147,12 @@
# set c/xxflags and ldflags
strip-flags
append-flags -fno-strict-aliasing
+
+ if [[ $( gcc-fullversion ) == "3.4.6" && gcc-specs-ssp ]] ; then
+ ewarn "Appending -fno-stack-protector to CFLAGS/CXXFLAGS"
+ append-flags -fno-stack-protector
+ fi
+
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
-e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
1.4 x11-libs/qt/qt-4.3.1-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.1-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.1-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.1-r1.ebuild?r1=1.3&r2=1.4
Index: qt-4.3.1-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.1-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- qt-4.3.1-r1.ebuild 25 Sep 2007 13:32:04 -0000 1.3
+++ qt-4.3.1-r1.ebuild 10 Nov 2007 08:49:05 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.1-r1.ebuild,v 1.3 2007/09/25 13:32:04 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.1-r1.ebuild,v 1.4 2007/11/10 08:49:05 phreak Exp $
inherit eutils flag-o-matic toolchain-funcs multilib
@@ -131,6 +131,11 @@
strip-flags
replace-flags -O3 -O2
+ if [[ $( gcc-fullversion ) == "3.4.6" && gcc-specs-ssp ]] ; then
+ ewarn "Appending -fno-stack-protector to CFLAGS/CXXFLAGS"
+ append-flags -fno-stack-protector
+ fi
+
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
-e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
1.8 x11-libs/qt/qt-4.3.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild?r1=1.7&r2=1.8
Index: qt-4.3.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- qt-4.3.2.ebuild 9 Nov 2007 23:11:50 -0000 1.7
+++ qt-4.3.2.ebuild 10 Nov 2007 08:49:05 -0000 1.8
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild,v 1.7 2007/11/09 23:11:50 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild,v 1.8 2007/11/10 08:49:05 phreak Exp $
inherit eutils flag-o-matic toolchain-funcs multilib
@@ -127,6 +127,11 @@
strip-flags
replace-flags -O3 -O2
+ if [[ $( gcc-fullversion ) == "3.4.6" && gcc-specs-ssp ]] ; then
+ ewarn "Appending -fno-stack-protector to CFLAGS/CXXFLAGS"
+ append-flags -fno-stack-protector
+ fi
+
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
-e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
1.28 x11-libs/qt/qt-3.3.4-r8.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.4-r8.ebuild?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.4-r8.ebuild?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.4-r8.ebuild?r1=1.27&r2=1.28
Index: qt-3.3.4-r8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.4-r8.ebuild,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- qt-3.3.4-r8.ebuild 22 Jul 2007 03:05:35 -0000 1.27
+++ qt-3.3.4-r8.ebuild 10 Nov 2007 08:49:05 -0000 1.28
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.4-r8.ebuild,v 1.27 2007/07/22 03:05:35 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.4-r8.ebuild,v 1.28 2007/11/10 08:49:05 phreak Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -123,6 +123,12 @@
use sparc && export CFLAGS="-O1" && export CXXFLAGS="${CFLAGS}"
# set c/xxflags and ldflags
strip-flags
+
+ if [[ $( gcc-fullversion ) == "3.4.6" && gcc-specs-ssp ]] ; then
+ ewarn "Appending -fno-stack-protector to CFLAGS/CXXFLAGS"
+ append-flags -fno-stack-protector
+ fi
+
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
-e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-10 8:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-10 8:49 [gentoo-commits] gentoo-x86 commit in x11-libs/qt: qt-3.3.8-r4.ebuild ChangeLog qt-3.3.8-r3.ebuild qt-4.3.1-r1.ebuild qt-4.3.2.ebuild qt-3.3.4-r8.ebuild Christian Heim (phreak)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox