From 6fcbd692d577495404ed0dcda9f75c8be551ce58075e4c7bd245b229e4f15b2b Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 12 Oct 2009 09:17:03 +0000 Subject: [PATCH] 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 --- Mesa.changes | 8 ++++++++ Mesa.spec | 8 +++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Mesa.changes b/Mesa.changes index 72f8d44..6546ec7 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -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 diff --git a/Mesa.spec b/Mesa.spec index ee115e2..7e705f3 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -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* \