summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2007-06-28 21:49:46 +0000
committerDoug Goldstein <cardoe@gentoo.org>2007-06-28 21:49:46 +0000
commitaf4d9002091a15e8306554c35e98180c2f8cbbeb (patch)
tree8e5e9f57790711e82b2039ade853f37e31900b71 /media-tv/mythtv
parenttypo (diff)
downloadgentoo-2-af4d9002091a15e8306554c35e98180c2f8cbbeb.tar.gz
gentoo-2-af4d9002091a15e8306554c35e98180c2f8cbbeb.tar.bz2
gentoo-2-af4d9002091a15e8306554c35e98180c2f8cbbeb.zip
refresh march/mcpu patch
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'media-tv/mythtv')
-rw-r--r--media-tv/mythtv/ChangeLog6
-rw-r--r--media-tv/mythtv/files/mythtv-trunk-mcpu-march-2.patch79
-rw-r--r--media-tv/mythtv/mythtv-0.21_pre13775.ebuild4
3 files changed, 86 insertions, 3 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index ccb723b1053f..841306bc5db3 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/mythtv
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.157 2007/06/28 18:54:34 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.158 2007/06/28 21:49:46 cardoe Exp $
+
+ 28 Jun 2007; Doug Goldstein <cardoe@gentoo.org>
+ +files/mythtv-trunk-mcpu-march-2.patch, mythtv-0.21_pre13775.ebuild:
+ refresh march/mcpu patch
*mythtv-0.21_pre13775 (28 Jun 2007)
diff --git a/media-tv/mythtv/files/mythtv-trunk-mcpu-march-2.patch b/media-tv/mythtv/files/mythtv-trunk-mcpu-march-2.patch
new file mode 100644
index 000000000000..f57adff3e984
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-trunk-mcpu-march-2.patch
@@ -0,0 +1,79 @@
+Index: configure
+===================================================================
+--- configure (revision 13780)
++++ configure (working copy)
+@@ -1476,49 +1476,49 @@
+ if test $tune != "generic"; then
+ case $tune in
+ 601|ppc601|PowerPC601)
+- ARCHFLAGS="-mcpu=601"
++ ARCHFLAGS="-march=601"
+ if test $altivec = "yes"; then
+ echo "WARNING: Tuning for PPC601 but AltiVec enabled!";
+ fi
+ TUNECPU=ppc601
+ ;;
+ 603*|ppc603*|PowerPC603*)
+- ARCHFLAGS="-mcpu=603"
++ ARCHFLAGS="-march=603"
+ if test $altivec = "yes"; then
+ echo "WARNING: Tuning for PPC603 but AltiVec enabled!";
+ fi
+ TUNECPU=ppc603
+ ;;
+ 604*|ppc604*|PowerPC604*)
+- ARCHFLAGS="-mcpu=604"
++ ARCHFLAGS="-march=604"
+ if test $altivec = "yes"; then
+ echo "WARNING: Tuning for PPC604 but AltiVec enabled!";
+ fi
+ TUNECPU=ppc604
+ ;;
+ G3|g3|75*|ppc75*|PowerPC75*)
+- ARCHFLAGS="-mcpu=750 -mtune=750 -mpowerpc-gfxopt"
++ ARCHFLAGS="-march=750 -mtune=750 -mpowerpc-gfxopt"
+ if test $altivec = "yes"; then
+ echo "WARNING: Tuning for PPC75x but AltiVec enabled!";
+ fi
+ TUNECPU=ppc750
+ ;;
+ G4|g4|745*|ppc745*|PowerPC745*)
+- ARCHFLAGS="-mcpu=7450 -mtune=7450 -mpowerpc-gfxopt"
++ ARCHFLAGS="-march=7450 -mtune=7450 -mpowerpc-gfxopt"
+ if test $altivec = "no"; then
+ echo "WARNING: Tuning for PPC745x but AltiVec disabled!";
+ fi
+ TUNECPU=ppc7450
+ ;;
+ 74*|ppc74*|PowerPC74*)
+- ARCHFLAGS="-mcpu=7400 -mtune=7400 -mpowerpc-gfxopt"
++ ARCHFLAGS="-march=7400 -mtune=7400 -mpowerpc-gfxopt"
+ if test $altivec = "no"; then
+ echo "WARNING: Tuning for PPC74xx but AltiVec disabled!";
+ fi
+ TUNECPU=ppc7400
+ ;;
+ G5|g5|970|ppc970|PowerPC970|power4*|Power4*)
+- ARCHFLAGS="-mcpu=970 -mtune=970 -mpowerpc-gfxopt -mpowerpc64"
++ ARCHFLAGS="-march=970 -mtune=970 -mpowerpc-gfxopt -mpowerpc64"
+ if test $altivec = "no"; then
+ echo "WARNING: Tuning for PPC970 but AltiVec disabled!";
+ fi
+@@ -1526,7 +1526,7 @@
+ POWERPCMODE="64bits"
+ ;;
+ sparc64)
+- ARCHFLAGS="-mcpu=v9 -mtune=v9"
++ ARCHFLAGS="-march=v9 -mtune=v9"
+ ;;
+ *)
+ ARCHFLAGS="-mtune=$tune"
+@@ -1536,7 +1536,7 @@
+ fi
+
+ if test x"$cpu_overide" = x"yes"; then
+- ARCHFLAGS="-mcpu=$cpu_raw $ARCHFLAGS"
++ ARCHFLAGS="-march=$cpu_raw $ARCHFLAGS"
+ fi
+
+ # compiler sanity check
diff --git a/media-tv/mythtv/mythtv-0.21_pre13775.ebuild b/media-tv/mythtv/mythtv-0.21_pre13775.ebuild
index 41d7714abcac..60985625fd5d 100644
--- a/media-tv/mythtv/mythtv-0.21_pre13775.ebuild
+++ b/media-tv/mythtv/mythtv-0.21_pre13775.ebuild
@@ -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/media-tv/mythtv/mythtv-0.21_pre13775.ebuild,v 1.1 2007/06/28 18:54:34 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.21_pre13775.ebuild,v 1.2 2007/06/28 21:49:46 cardoe Exp $
inherit flag-o-matic multilib eutils qt3 mythtv subversion
@@ -99,7 +99,7 @@ src_unpack() {
subversion_src_unpack
# mcpu to march
- epatch "${FILESDIR}"/${PN}-trunk-mcpu-march.patch
+ epatch "${FILESDIR}"/${PN}-trunk-mcpu-march-2.patch
# As needed fix since they don't know how to write qmake let alone a real
# make system. And they won't accept this upstream since it comes from