summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Verwilst <verwilst@gentoo.org>2002-08-08 17:30:42 +0000
committerBart Verwilst <verwilst@gentoo.org>2002-08-08 17:30:42 +0000
commit91359584da45dcbdebe210cb43e633bf7ac14f0c (patch)
treea4dcb91b236c449ceded74bc9e40bc9bdb582355 /x11-base
parentOpps. (diff)
downloadgentoo-2-91359584da45dcbdebe210cb43e633bf7ac14f0c.tar.gz
gentoo-2-91359584da45dcbdebe210cb43e633bf7ac14f0c.tar.bz2
gentoo-2-91359584da45dcbdebe210cb43e633bf7ac14f0c.zip
gcc 3.x -mmmx fix0r
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree/ChangeLog6
-rw-r--r--x11-base/xfree/xfree-4.2.0-r12.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/x11-base/xfree/ChangeLog b/x11-base/xfree/ChangeLog
index 920d4ff53413..292d4541d9aa 100644
--- a/x11-base/xfree/ChangeLog
+++ b/x11-base/xfree/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-base/xfree
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.34 2002/07/29 19:56:22 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.35 2002/08/08 17:30:42 verwilst Exp $
+
+ 8 aug 2002; Bart Verwilst <verwilst@gentoo.org> :
+
+ Fixed gcc 3.x based compilation error (with -mmmx)
29 Jul 2002; Martin Schlemmer <azarah@gentoo.org> :
diff --git a/x11-base/xfree/xfree-4.2.0-r12.ebuild b/x11-base/xfree/xfree-4.2.0-r12.ebuild
index d1555032bd85..fe062c2ef538 100644
--- a/x11-base/xfree/xfree-4.2.0-r12.ebuild
+++ b/x11-base/xfree/xfree-4.2.0-r12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.0-r12.ebuild,v 1.10 2002/07/29 03:51:11 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.0-r12.ebuild,v 1.11 2002/08/08 17:30:42 verwilst Exp $
inherit flag-o-matic
@@ -176,8 +176,8 @@ src_compile() {
src_install() {
- # fix compile for gcc-3.1
- if [ "`gcc -dumpversion |cut -d. -f1,2`" = "3.1" ]
+ # fix compile for gcc-3.x
+ if [ "${COMPILER}" = "gcc3" ]
then
make CXXDEBUGFLAGS="${CXXDEBUGFLAGS} -mno-mmx" \
CDEBUGFLAGS="${CDEBUGFLAGS} -mno-mmx" \