--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linuxlogo: Fails to detect Athlon64 processor type and states UNKNOWN instead
- From: Alex Perry <alex.perry@qm.com>
- Date: Fri, 27 Feb 2004 11:35:58 -0600
- Message-id: <E1Awlu2-0002ZG-00@scrappy.magnet.qm.com>
Package: linuxlogo
Version: 4.07-0.1
Severity: minor
--- linuxlogo-4.07.orig/libsysinfo-0.0.7/configure.c
+++ linuxlogo-4.07/libsysinfo-0.0.7/configure.c
@@ -22,6 +22,8 @@
return ARCH_IA64;
#elif defined(i386)
return ARCH_IX86;
+#elif defined(__x86_64__)
+ return ARCH_IX86;
#elif (defined(mc68000) || #cpu(m68k))
return ARCH_M68K;
#elif defined(__mips__)
--- linuxlogo-4.07.orig/libsysinfo-0.0.7/Linux/cpuinfo_ix86.c
+++ linuxlogo-4.07/libsysinfo-0.0.7/Linux/cpuinfo_ix86.c
@@ -128,7 +128,11 @@
/* Athlons */
if (strstr(model_string,"Athlon")!=NULL) {
- strncpy(cpu_info->chip_type,"Athlon",7);
+ if (strstr(model_string," 64 ")!=NULL) {
+ strncpy(cpu_info->chip_type,"Athlon 64",10);
+ } else {
+ strncpy(cpu_info->chip_type,"Athlon",7);
+ }
}
/* Specialty Athlons */
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.2
Locale: LANG=C, LC_CTYPE=C
Versions of packages linuxlogo depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
-- no debconf information
--- End Message ---