summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-02-08 10:38:13 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-02-08 10:38:13 +0000
commit61943f9c1a8af4cfa4c358d11139fe0c3f27383f (patch)
tree9e14a746783642e0e91f1c784ad3a2df61781010 /x11-libs
parent* bump and cleanups (diff)
downloadgentoo-2-61943f9c1a8af4cfa4c358d11139fe0c3f27383f.tar.gz
gentoo-2-61943f9c1a8af4cfa4c358d11139fe0c3f27383f.tar.bz2
gentoo-2-61943f9c1a8af4cfa4c358d11139fe0c3f27383f.zip
Append -fno-strict-aliasing as it dereferences type punned pointers (better be safe).
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qt/ChangeLog6
-rw-r--r--x11-libs/qt/qt-3.3.5.ebuild3
2 files changed, 7 insertions, 2 deletions
diff --git a/x11-libs/qt/ChangeLog b/x11-libs/qt/ChangeLog
index c55e0f72ff9e..ec0387b1e007 100644
--- a/x11-libs/qt/ChangeLog
+++ b/x11-libs/qt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.285 2006/01/19 13:54:31 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.286 2006/02/08 10:38:13 flameeyes Exp $
+
+ 08 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> qt-3.3.5.ebuild:
+ Append -fno-strict-aliasing as it dereferences type punned pointers (better
+ be safe).
19 Jan 2006; Caleb Tennis <caleb@gentoo.org> +files/qt-ulibc.patch,
qt-3.3.4-r8.ebuild, qt-3.3.5.ebuild:
diff --git a/x11-libs/qt/qt-3.3.5.ebuild b/x11-libs/qt/qt-3.3.5.ebuild
index e2f9837ffc9d..fea347be3c66 100644
--- a/x11-libs/qt/qt-3.3.5.ebuild
+++ b/x11-libs/qt/qt-3.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.5.ebuild,v 1.10 2006/01/20 06:26:20 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.5.ebuild,v 1.11 2006/02/08 10:38:13 flameeyes Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -134,6 +134,7 @@ src_unpack() {
use sparc && export CFLAGS="-O1" && export CXXFLAGS="${CFLAGS}"
# set c/xxflags and ldflags
strip-flags
+ append-flags -fno-strict-aliasing
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}:" \