Accepting request 30735 from X11:XOrg

Copy from X11:XOrg/Mesa based on submit request 30735 from user coolo

OBS-URL: https://build.opensuse.org/request/show/30735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=80
This commit is contained in:
OBS User autobuild 2010-01-29 14:01:40 +00:00 committed by Git OBS Bridge
parent de26ef51d3
commit 6654a2f434
3 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 22 14:19:15 CET 2010 - ro@suse.de
- fix build for ppc
-------------------------------------------------------------------
Tue Dec 22 04:55:36 CET 2009 - sndirsch@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package Mesa (Version 7.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,7 +33,7 @@ Obsoletes: Mesa-64bit
%endif
#
Version: 7.7
Release: 5
Release: 6
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
@ -42,6 +42,7 @@ Source3: README.updates
Source4: manual-pages.tar.bz2
Source5: drirc
Patch1: dri_driver_dir.diff
Patch2: spantmp2_h_ppc_build_fix.diff
Patch6: link-shared.diff
Patch7: disable_gem_warning.diff
Patch15: Mesa_indirect_old_xserver_compatibility.diff
@ -113,6 +114,7 @@ rm -rf src/glut progs/{demos,redbook,samples,xdemos,glsl}
# we use freeglut
rm -f include/GL/{glut.h,uglglutshapes.h,glutf90.h}
%patch1
%patch2
sed -i 's/REPLACE/%_lib/g' src/glx/x11/Makefile
### FIXME
#%patch6

View File

@ -0,0 +1,11 @@
--- src/mesa/drivers/dri/common/spantmp2.h
+++ src/mesa/drivers/dri/common/spantmp2.h
@@ -400,7 +400,7 @@
# define READ_RGBA( rgba, _x, _y ) \
do { \
GLuint p = GET_VALUE(_x, _y); \
- *((uint32_t *) rgba) = (t << 8) | 0xff; \
+ *((uint32_t *) rgba) = (p << 8) | 0xff; \
} while (0)
# else
# define READ_RGBA( rgba, _x, _y ) \