SOURCES: mythtv-x86_64-configure.patch (NEW) - get it going on amd64

glen glen at pld-linux.org
Sun Sep 4 12:46:51 CEST 2005


Author: glen                         Date: Sun Sep  4 10:46:51 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- get it going on amd64

---- Files affected:
SOURCES:
   mythtv-x86_64-configure.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mythtv-x86_64-configure.patch
diff -u /dev/null SOURCES/mythtv-x86_64-configure.patch:1.1
--- /dev/null	Sun Sep  4 12:46:51 2005
+++ SOURCES/mythtv-x86_64-configure.patch	Sun Sep  4 12:46:46 2005
@@ -0,0 +1,28 @@
+based from gentoo
+http://bugs.gentoo.org/show_bug.cgi?id=94664
+
+--- ./configure.orig	2005-05-05 08:15:43.000000000 +0100
++++ ./configure	2005-05-31 23:32:26.000000000 +0100
+@@ -9,6 +9,7 @@
+ 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_64_cpus="x86-64,athlon64,k8,opteron,athlon-fx"
+ 
+ # 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)
+   ;;
================================================================



More information about the pld-cvs-commit mailing list