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

Måns Rullgård mans at mansr.com
Thu Oct 6 10:21:35 UTC 2011


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.

-- 
Måns Rullgård
mans at mansr.com





More information about the pkg-multimedia-maintainers mailing list