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

2011-10-07 Thread Jason Garrett-Glaser
2011/10/6 Måns Rullgård :
> Fabian Greffrath  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 
>> 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



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


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

2011-10-06 Thread Måns Rullgård
Fabian Greffrath  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 
> 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.

-- 
Måns Rullgård
m...@mansr.com



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers