Package: x86info Version: 1.13-1 Severity: important Tags: patch Justification: fails to build from source
Hi, attached is a minor patch to build x86info on amd64 as 32bit code (due to the i386 asm). Please consider fixing this for sarge as well as sid. MfG Goswin -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.8-frosties-1 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
diff -u x86info-1.13/debian/changelog x86info-1.13/debian/changelog --- x86info-1.13/debian/changelog +++ x86info-1.13/debian/changelog @@ -1,3 +1,9 @@ +x86info (1.13-1.0.0.1.pure64) unstable; urgency=low + + * NMU - add support to build 32bit code on amd64 + + -- Goswin von Brederlow <[EMAIL PROTECTED]> Wed, 4 May 2005 19:32:13 +0200 + x86info (1.13-1) unstable; urgency=low * New upstream release. diff -u x86info-1.13/debian/rules x86info-1.13/debian/rules --- x86info-1.13/debian/rules +++ x86info-1.13/debian/rules @@ -5,6 +5,12 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +DEB_BUILD_ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH) +#ifeq $(DEB_BUILD_ARCH),amd64 +CC=gcc-3.4 +export CC +#endif + configure: configure-stamp configure-stamp: dh_testdir diff -u x86info-1.13/debian/control x86info-1.13/debian/control --- x86info-1.13/debian/control +++ x86info-1.13/debian/control @@ -3,14 +3,14 @@ Priority: extra Maintainer: Mark Brown <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.1.16) +Build-Depends: debhelper (>= 4.1.16), ia32-libs-dev [amd64], gcc-3.4 [amd64] Standards-Version: 3.5.8 Package: x86info -Architecture: i386 +Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends}, makedev (>= 2.3.1-53) -Description: Display diagnostic information about i386 CPUs - x86info displays diagnostic information about the CPUs fitted to i386 - systems. This includes information on the CPU cache configuration, - speed and supported features. +Description: Display diagnostic information about i386/x86_64 CPUs + x86info displays diagnostic information about the CPUs fitted to i386, + em64t and amd64 systems. This includes information on the CPU cache + configuration, speed and supported features. . Some features require the kernel cpuid driver to be available.