Package: vlc
Version: 0.8.6-svn20060823.debian-3
Severity: minor

The (apparently handwritten) configure script in extras/x264/ uses
uname in various ways to detect host+build architecture (it apparently
won't allow for cross-compilation, but that's not Debian's problem).
This is a problem in at least one situation: when running a 32-bit
userland over a 64-bit Linux kernel, uname -m reports x86_64 whereas
we want to compile for i486 - this causes a package compilation
failure.

I suggest the attached patch.

-- 
     David A. Madore
    ([EMAIL PROTECTED],
     http://www.madore.org/~david/ )
--- vlc-0.8.6-svn20060823.debian/extras/x264/configure.orig	2006-08-23 14:40:12.000000000 +0200
+++ vlc-0.8.6-svn20060823.debian/extras/x264/configure	2006-09-01 01:23:59.000000000 +0200
@@ -119,7 +119,7 @@
     ;;
 esac
 
-UNAMEM="`uname -m`"
+UNAMEM="`dpkg-architecture -qDEB_HOST_GNU_CPU`"
 case "$UNAMEM" in
   i386|i486|i586|i686|BePC)
     ARCH="X86"

Reply via email to