Accepting request 21624 from home:vuntz:branches:GNOME:Factory

Copy from home:vuntz:branches:GNOME:Factory/gtk2 via accept of submit request 21624 revision 2.

OBS-URL: https://build.opensuse.org/request/show/21624
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk2?expand=0&rev=75
This commit is contained in:
Vincent Untz 2009-10-02 23:57:59 +00:00 committed by Git OBS Bridge
parent 10c26e561e
commit 95669d7676
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Oct 3 01:28:50 CEST 2009 - vuntz@opensuse.org
- Compile without -fomit-frame-pointer. For some yet unknown
reasons, some applications crash when GTK+ is compiled with it.
See bgo#596977 for details. Should fix bnc#544009.
-------------------------------------------------------------------
Thu Oct 1 17:19:52 CEST 2009 - vuntz@opensuse.org

View File

@ -39,6 +39,7 @@ Obsoletes: gtk2-64bit
#
PreReq: /usr/bin/touch /bin/rm /bin/rmdir
Version: 2.18.1
# FIXME: when updating to next version, check whether we can remove the workaround for bgo#596977 below (removing -fomit-frame-pointer)
Release: 1
Summary: Library for Creation of Graphical User Interfaces (version 2)
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.12/%{_name}-%{version}.tar.bz2
@ -173,6 +174,8 @@ export CFLAGS="$CFLAGS -fstack-protector"
%ifarch ppc64
export CFLAGS="$CFLAGS -mminimal-toc"
%endif
# fix crash in gdm, nautilus, etc. (bgo#596977)
export CFLAGS=`echo $CFLAGS | sed -e 's/-fomit-frame-pointer//g'`
%if %suse_version <= 1030
# Do not believe glibc first weekday for glibc < 2.7:
# https://bugzilla.novell.com/show_bug.cgi?id=130787