SHA256
1
0
forked from pool/Mesa

Accepting request 22028 from X11:XOrg

Copy from X11:XOrg/Mesa based on submit request 22028 from user mhopf

OBS-URL: https://build.opensuse.org/request/show/22028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=73
This commit is contained in:
OBS User autobuild 2009-10-12 09:17:03 +00:00 committed by Git OBS Bridge
parent a15bf6c4fe
commit 6fcbd692d5
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Oct 7 16:32:46 UTC 2009 - mhopf@novell.com
- Add -DNDEBUG to CFLAGS.
It's unfortunate, but a few newly added assert()s for testing memory leaks
trigger in this release. But having memory leaks is less problematic than
crashing compiz.
-------------------------------------------------------------------
Tue Sep 29 21:33:56 CEST 2009 - sndirsch@suse.de

View File

@ -33,7 +33,7 @@ Obsoletes: Mesa-64bit
%endif
#
Version: 7.6
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
@ -139,7 +139,8 @@ autoreconf -fi
%ifarch %arm
--with-dri-drivers=swrast \
%endif
--disable-glut
--disable-glut \
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
make -C src/gallium/state_trackers/dri
gmake
make install DESTDIR=$RPM_BUILD_ROOT
@ -149,7 +150,8 @@ make realclean
--disable-glu \
--disable-glw \
--disable-glut \
--disable-gallium
--disable-gallium \
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
sed -i 's/GL_LIB = .*/GL_LIB = IndirectGL/g' configs/autoconf
gmake
cp -a %{_lib}/libIndirectGL.so.* %{_lib}/libOSMesa.so* \