Tizen 2.0 Release
[profile/ivi/osmesa.git] / debian / patches / 06_kfreebsd-ftbfs.diff
1 From: Aurelien Jarno <aurel32@debian.org>
2 From: Cyril Brulebois <kibi@debian.org>
3     
4 mesa fails to build on GNU/kFreeBSD, since some parts are not enabled.
5
6 Debian bug: http://bugs.debian.org/524690
7
8 --- a/configure.ac
9 +++ b/configure.ac
10 @@ -1024,7 +1024,7 @@ if test "$mesa_driver" = dri -o "$mesa_driver" = no; then
11              ;;
12          esac
13          ;;
14 -    freebsd* | dragonfly* | *netbsd*)
15 +    freebsd* | dragonfly* | *netbsd* | kfreebsd*-gnu*)
16          DEFINES="$DEFINES -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1"
17          DEFINES="$DEFINES -DIN_DRI_DRIVER -DHAVE_ALIAS"
18          DEFINES="$DEFINES -DGLX_INDIRECT_RENDERING"