summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-08-12 14:43:19 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-08-12 14:43:19 +0000
commite608e95373b8ab518a61108197ce1f2c762fd9e9 (patch)
treecf949ccb5faedada8a572cc23b02ba1e5422bd75 /media-tv
parentStable on sparc (diff)
downloadhistorical-e608e95373b8ab518a61108197ce1f2c762fd9e9.tar.gz
historical-e608e95373b8ab518a61108197ce1f2c762fd9e9.tar.bz2
historical-e608e95373b8ab518a61108197ce1f2c762fd9e9.zip
Add patch I forgot.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/Manifest7
-rw-r--r--media-tv/mythtv/files/mythtv-0.18.1-cputypes-configure.patch31
2 files changed, 35 insertions, 3 deletions
diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 0f80380b2e8e..587d69a56af9 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -7,6 +7,7 @@ MD5 04f1a3d71617f305676de42fba2968a2 mythtv-0.18.1-r2.ebuild 5472
MD5 caeec6b9c1ec61e6e3ad64bd4696b257 mythtv-0.18.1-r1.ebuild 5093
MD5 0d20a49cff965a0f3ab35cb0600b65b4 files/runmythfe 104
MD5 a0dc63e4be8c214490e4ed4f13ed9544 files/mythtv-0.18.1-cc-on-mute.patch 679
+MD5 58ad62106705e1d4641f95ea96a37748 files/mythtv-0.18.1-cputypes-configure.patch 994
MD5 3632cf0ce1fad88f806ae8801316a6fc files/mythfilldatabase.cron 73
MD5 b288872f9393adf2b30f40b6ee01eac5 files/digest-mythtv-0.18.1-r1 67
MD5 946d39e6c7d43c06d11d2bc6e09d5c21 files/0.18-mythbackend.rc 1606
@@ -17,7 +18,7 @@ MD5 fde2b2886b037b199cc815dbcb12617e files/mythtv-0.18.1-x86_64-configure.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC/E5lBtvusYtCZMsRAn9cAJ9jZIr5xLDejY6p6Ej3+9IP6codHgCbB565
-Z5K7AW1TIxdNiDWJZlBzsqs=
-=FHYN
+iD8DBQFC/LWfBtvusYtCZMsRAjShAJ9WVM9UM8WZ91kSgjMx83x+9QX30QCfVPAV
+vLtmOxpKxEmpp643ddxMk0A=
+=wDys
-----END PGP SIGNATURE-----
diff --git a/media-tv/mythtv/files/mythtv-0.18.1-cputypes-configure.patch b/media-tv/mythtv/files/mythtv-0.18.1-cputypes-configure.patch
new file mode 100644
index 000000000000..a9afc9d58cb4
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.18.1-cputypes-configure.patch
@@ -0,0 +1,31 @@
+--- configure.orig 2005-07-19 22:23:17.000000000 +0100
++++ configure 2005-07-19 22:38:56.000000000 +0100
+@@ -5,10 +5,11 @@
+
+ x86_mmx_cpus="pentium-mmx,pentium2,pentium3,pentium3m,pentium-m"
+ x86_mmx_cpus="$x86_mmx_cpus,pentium4,pentium4m,prescott,athlon,athlon-xp"
+-x86_mmx_cpus="$x86_mmx_cpus,c3,c3-2"
++x86_mmx_cpus="$x86_mmx_cpus,athlon-tbird,athlon-4,athlon-mp,c3,c3-2,k6,k6-2,k6-3"
+ x86_cpus="i386,i486,i586,i686,pentium,pentiumpro,${x86_mmx_cpus}"
+ x86_cmov_cpus="i686,pentiumpro,pentium2,pentium3,pentium3m,pentium-m,pentium4,"
+-x86_cmov_cpus="pentium4m,prescott,athlon,athlon-xp,c3-2"
++x86_cmov_cpus="pentium4m,prescott,athlon,athlon-xp,athlon-tbird,athlon-4,athlon-mp,c3-2"
++x86_64_cpus="x86-64,athlon64,k8,opteron,athlon-fx,nocona"
+
+ # default parameters
+ compile_type="release"
+@@ -223,6 +224,14 @@
+ cpu="x86"
+ fi
+
++is_x86_64_cpu() {
++ expr ",${x86_64_cpus}," : ".*,$1," > /dev/null
++}
++
++if is_x86_64_cpu "$cpu" ; then
++ cpu="x86_64"
++fi
++
+ case "$cpu" in
+ x86)
+ ;;