Bug#642810: [x264-devel] configure fails to detect alphaev67 as ALPHA

Jason Garrett-Glaser jason at x264.com
Sat Oct 8 02:07:10 UTC 2011


2011/10/6 Måns Rullgård <mans at mansr.com>:
> Fabian Greffrath <fabian at greffrath.com> writes:
>
>> Hi all,
>>
>> Debian's alpha buildds identify themselves as alphaev67, so the check
>> for $ARCH = "ALPHA" in configure around line 607 fails. As a
>> consequence the shared library is built without PIC and the linker
>> fails. This is documented in the Debian BTS #642810:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642810
>>
>> The attached patch fixes this issue by considering alpha* as ALPHA in
>> the configure script.
>>
>> Best Regards,
>> Fabian Greffrath
>>
>> Author: Fabian Greffrath <fabian+debian at greffrath.com>
>> Description: Debian's alpha buildds identify themselves as alphaev67,
>>  so consider alpha* as ALPHA (Closes: #642810).
>> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642810
>>
>> --- x264.orig/configure
>> +++ x264/configure
>> @@ -580,6 +580,9 @@ case $host_cpu in
>>      ia64)
>>          ARCH="IA64"
>>          ;;
>> +    alpha*)
>> +        ARCH="ALPHA"
>> +        ;;
>>      *)
>>          ARCH="$(echo $host_cpu | tr a-z A-Z)"
>>          ;;
>
> Looks reasonable.

Applied locally.

Jason





More information about the pkg-multimedia-maintainers mailing list