tags 324335 +patch
thanks

With the attached patch 'gnusound' can be compiled on amd64.

The patch prevents the compilation and use of 'cpudetect' and other
x86 specific functions with x86 assembler instructions.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnusound-0.7.4/configure ./configure
--- ../tmp-orig/gnusound-0.7.4/configure        2005-07-06 09:57:07.000000000 
+0000
+++ ./configure 2005-11-02 12:09:59.000000000 +0000
@@ -1769,7 +1769,7 @@
 
 
 case $host_cpu in
-i686|x86|x86_64|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*)
+i686|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*)
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_ARCH_X86
diff -urN ../tmp-orig/gnusound-0.7.4/configure.ac ./configure.ac
--- ../tmp-orig/gnusound-0.7.4/configure.ac     2005-07-06 09:56:47.000000000 
+0000
+++ ./configure.ac      2005-11-02 12:09:59.000000000 +0000
@@ -36,7 +36,7 @@
 dnl System type
 AC_CANONICAL_HOST
 case $host_cpu in
-i686|x86|x86_64|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*)
+i686|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*)
 AC_DEFINE(HAVE_ARCH_X86,,[Whether this computer has an x86 CPU])
 ;;
 esac


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to