From 6e3d63132323f5b0d08aa7ad3978aba2bf84b608 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 29 Sep 2010 09:08:58 +0000
Subject: [PATCH] main/mesa: enable glx state trackers

---
 main/mesa/APKBUILD | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 26f0c17f67ab..93987d467cbb 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,22 +1,22 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=mesa
 pkgver=7.8.2
-pkgrel=0
+pkgrel=1
 pkgdesc="Mesa DRI OpenGL library"
 url="http://www.mesa3d.org"
 license="LGPL"
 depends=
 subpackages="$pkgname-dev 
+	$pkgname-dri-ati:ati
 	$pkgname-dri-intel:intel
 	$pkgname-dri-mach64:mach64
 	$pkgname-dri-mga:mga
 	$pkgname-dri-r128:r128
 	$pkgname-dri-savage:savage
 	$pkgname-dri-sis:sis
+	$pkgname-dri-swrast:swrast
 	$pkgname-dri-tdfx:tdfx
 	$pkgname-dri-unichrome:unichrome
-	$pkgname-dri-ati:ati
-	$pkgname-dri-swrast:swrast
 	"
 
 makedepends="pkgconfig libdrm-dev libxxf86vm-dev libxdamage-dev expat-dev
@@ -48,7 +48,7 @@ build() {
 		--disable-asm \
 		--disable-glx-tls \
 		--with-driver=dri \
-		--with-state-trackers=dri,egl \
+		--with-state-trackers=dri,glx,egl \
 		--enable-xcb \
 		--disable-glut \
 		--disable-glw || return 1
-- 
GitLab