--- /dev/null
+--- Mesa-7.11/configure.ac~ 2011-07-12 12:57:43.000000000 +0200
++++ Mesa-7.11/configure.ac 2011-07-18 19:40:58.701272226 +0200
+@@ -908,7 +908,7 @@
+ AC_SUBST([GLESv2_LIB_DEPS])
+ AC_SUBST([GLESv2_PC_LIB_PRIV])
+
+-GLAPI_LIB_DEPS="-lpthread"
++GLAPI_LIB_DEPS="-lpthread $SELINUX_LIBS"
+ AC_SUBST([GLAPI_LIB_DEPS])
+
+
%define glproto_ver 1.4.11
#
%define snap 20110717
-# for snapshots ONLY!
-%define no_install_post_check_so 1
#
Summary: Free OpenGL implementation
Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
# Source0-md5: db0591e831b4a9cf7b5e0838ba5a667c
Patch0: %{name}-realclean.patch
Patch1: %{name}-git.patch
+Patch2: %{name}-selinux.patch
URL: http://www.mesa3d.org/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
%undefine with_gallium_radeon
%endif
+# unresolved symbol _glapi_tls_Dispatch
+%define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.*
+
%description
Mesa is a 3-D graphics library with an API which is very similar to
that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
%setup -q
%patch0 -p0
%patch1 -p1
+%patch2 -p1
%build
%{__aclocal}