SHA256
1
0
forked from pool/Mesa
OBS User unknown 2007-08-12 09:38:32 +00:00 committed by Git OBS Bridge
parent 0d310975ab
commit 36311fa716
3 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Aug 12 10:59:23 CEST 2007 - sndirsch@suse.de
- disable-libGL-warning.diff:
* ignore unsupported visual 0x4b (Bug #247471, X.Org Bug #6689)
-------------------------------------------------------------------
Sat Aug 4 05:54:46 CEST 2007 - sndirsch@suse.de

View File

@ -19,7 +19,7 @@ Provides: xorg-x11-Mesa
Obsoletes: xorg-x11-Mesa
Autoreqprov: on
Version: 7.0.1
Release: 1
Release: 4
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
@ -30,6 +30,7 @@ Source6: via.sh
Patch0: disable-sis_dri.diff
Patch1: dri_driver_dir.diff
Patch2: i915-crossbar.diff
Patch3: disable-libGL-warning.diff
Patch4: libIndirectGL.diff
Patch5: static.diff
Patch6: link-shared.diff
@ -118,6 +119,7 @@ rm -rf src/glw/
%patch0
%patch1
%patch2
%patch3
%patch5
%ifarch %ix86 x86_64 ppc
%patch6
@ -274,6 +276,9 @@ rm -rf $RPM_BUILD_ROOT
/usr/%{_lib}/libMesaGL.a
%changelog
* Sun Aug 12 2007 - sndirsch@suse.de
- disable-libGL-warning.diff:
* ignore unsupported visual 0x4b (Bug #247471, X.Org Bug #6689)
* Sat Aug 04 2007 - sndirsch@suse.de
- updated to bugfix relelase 7.0.1
* Wed Jul 04 2007 - sndirsch@suse.de

View File

@ -0,0 +1,16 @@
--- src/glx/x11/glxext.c.orig 2007-08-12 10:45:15.688553249 +0200
+++ src/glx/x11/glxext.c 2007-08-12 10:55:49.810243457 +0200
@@ -672,8 +672,11 @@ filter_modes( __GLcontextModes ** server
if ( do_delete && (m->visualID != 0) ) {
do_delete = GL_FALSE;
- fprintf(stderr, "libGL warning: 3D driver claims to not support "
- "visual 0x%02x\n", m->visualID);
+ /* don't warn for this visual (Novell #247471 / X.Org #6689) */
+ if (m->visualID != 0x4b) {
+ fprintf(stderr, "libGL warning: 3D driver claims to not "
+ "support visual 0x%02x\n", m->visualID);
+ }
}
if ( do_delete ) {