diff --git a/Mesa.changes b/Mesa.changes index b39a5a4..4611cd5 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 27 16:58:13 CET 2009 - mhopf@suse.de + +- Mesa_indirect_old_xserver_compatibility.diff + Workaround for enabling indirect rendering to older Xservers + (bnc #469280). + ------------------------------------------------------------------- Wed Feb 25 15:51:31 CET 2009 - sndirsch@suse.de diff --git a/Mesa.spec b/Mesa.spec index 1f3bafa..5dc9b2c 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -33,7 +33,7 @@ Obsoletes: Mesa-64bit %endif # Version: 7.3 -Release: 1 +Release: 2 Summary: Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL Source: MesaLib-%{version}.tar.bz2 Source1: MesaDemos-%{version}.tar.bz2 @@ -45,6 +45,7 @@ Patch6: link-shared.diff Patch7: disable_gem_warning.diff Patch9: i965-GL_MAX_TEXTURE_SIZE-4096.diff Patch14: intel_release_static_region.patch +Patch15: Mesa_indirect_old_xserver_compatibility.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -137,6 +138,7 @@ sed -i 's/REPLACE/%_lib/g' src/glx/x11/Makefile %patch7 -p1 #%patch9 -p1 %patch14 -p1 +%patch15 -p1 %build @@ -239,6 +241,10 @@ rm -rf $RPM_BUILD_ROOT /usr/%{_lib}/libOSMesa.a %changelog +* Fri Feb 27 2009 mhopf@suse.de +- Mesa_indirect_old_xserver_compatibility.diff + Workaround for enabling indirect rendering to older Xservers + (bnc #469280). * Wed Feb 25 2009 sndirsch@suse.de - update to Mesa 7.3 - obsoletes MesaLib-7.2_intel-2008-q3_793c3b9-46921a5.diff, diff --git a/Mesa_indirect_old_xserver_compatibility.diff b/Mesa_indirect_old_xserver_compatibility.diff new file mode 100644 index 0000000..d96063c --- /dev/null +++ b/Mesa_indirect_old_xserver_compatibility.diff @@ -0,0 +1,15 @@ +diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c +index b6bdbd5..9be1358 100644 +--- a/src/glx/x11/glxext.c ++++ b/src/glx/x11/glxext.c +@@ -720,8 +720,8 @@ __glXInitialize(Display * dpy) + dpyPriv->dri2Display = dri2CreateDisplay(dpy); + dpyPriv->driDisplay = driCreateDisplay(dpy); + } +- if (glx_direct) +- dpyPriv->driswDisplay = driswCreateDisplay(dpy); ++// if (glx_direct) ++// dpyPriv->driswDisplay = driswCreateDisplay(dpy); + #endif + + if (!AllocAndFetchScreenConfigs(dpy, dpyPriv)) {