fix for -O3 & P4
authorDoug Goldstein <cardoe@gentoo.org>
Thu, 16 Dec 2004 21:34:37 +0000 (21:34 +0000)
committerDoug Goldstein <cardoe@gentoo.org>
Thu, 16 Dec 2004 21:34:37 +0000 (21:34 +0000)
media-tv/mythfrontend/mythfrontend-0.16.ebuild
media-tv/mythtv/mythtv-0.16.ebuild

index d388f7fbe3a7495f2d00de1c04ffb985a67200ce..2c59baba3e1ac5b932183f3212ac8ef5291d224f 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.16.ebuild,v 1.9 2004/12/05 00:52:43 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.16.ebuild,v 1.10 2004/12/16 21:34:37 cardoe Exp $
 
 inherit myth flag-o-matic
 
@@ -151,6 +151,9 @@ src_unpack() {
        # Fix bugs 40964 and 42943.
        filter-flags -fforce-addr -fPIC
 
+       # fix bug 67832, fix can be removed for 0.17 when its released
+       is-flag "-march=pentium4" && replace-flags "-O3" "-O2"
+
        myth_src_unpack
        sed -i '32i #include <cmath>' ${S}/libs/libmythtv/dvbdiseqc.cpp
 }
index 8e4806c3e4d9c7add9cb6690beac02e053d82cd3..e055bc35a85ead2d39866fd83b4d5c6fc12abefc 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.16.ebuild,v 1.9 2004/12/05 00:46:13 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.16.ebuild,v 1.10 2004/12/16 21:33:07 cardoe Exp $
 
 inherit myth flag-o-matic eutils
 
@@ -144,6 +144,9 @@ src_unpack() {
        # Fix bugs 40964 and 42943.
        filter-flags -fforce-addr -fPIC
 
+       # fix bug 67832, fix can be removed for 0.17 when its released
+       is-flag "-march=pentium4" && replace-flags "-O3" "-O2"
+
        myth_src_unpack
 
        epatch ${FILESDIR}/${P}-cx88.patch