From 29ca3b09031e9d3403583b29fb0bd0f27f74fcb9 Mon Sep 17 00:00:00 2001
From: Doug Goldstein <cardoe@gentoo.org>
Date: Thu, 16 Dec 2004 21:34:37 +0000
Subject: fix for -O3 & P4

---
 media-tv/mythfrontend/mythfrontend-0.16.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'media-tv/mythfrontend')

diff --git a/media-tv/mythfrontend/mythfrontend-0.16.ebuild b/media-tv/mythfrontend/mythfrontend-0.16.ebuild
index d388f7fbe3a7..2c59baba3e1a 100644
--- a/media-tv/mythfrontend/mythfrontend-0.16.ebuild
+++ b/media-tv/mythfrontend/mythfrontend-0.16.ebuild
@@ -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
 }
-- 
cgit v1.2.3-65-gdbad