[Mesa-dev] [PATCH 3/4] mesa: fix build on kFreeBSD

Brian Paul brianp at vmware.com
Tue Nov 5 07:32:41 PST 2013


On 11/05/2013 04:49 AM, Fabio Pedretti wrote:
> From: Aurelien Jarno <aurel32 at debian.org>
> From: Cyril Brulebois <kibi at debian.org>
>
> mesa fails to build on GNU/kFreeBSD, since some parts are not enabled.
>
> Debian bug: http://bugs.debian.org/524690
>
> Patch from Debian package
> ---
>   configure.ac | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 0a25047..e250734 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -425,7 +425,7 @@ if test "x$enable_asm" = xyes; then
>       case "$host_cpu" in
>       i?86)
>           case "$host_os" in
> -        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd*)
> +        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd* | kfreebsd*-gnu*)
>               test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86
>               ;;
>           gnu*)
> @@ -435,7 +435,7 @@ if test "x$enable_asm" = xyes; then
>           ;;
>       x86_64|amd64)
>           case "$host_os" in
> -        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd*)
> +        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd* | kfreebsd*-gnu*)
>               test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64
>               ;;
>           esac
> @@ -974,7 +974,7 @@ if test "x$enable_dri" = xyes; then
>               ;;
>           esac
>           ;;
> -    freebsd* | dragonfly* | *netbsd* | openbsd*)
> +    freebsd* | dragonfly* | *netbsd* | openbsd* | kfreebsd*-gnu*)
>           DEFINES="$DEFINES -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1"
>           DEFINES="$DEFINES -DHAVE_ALIAS"
>
>

For the series:

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list