From 53d87536f5c69d8011822392473305ea539acfdc Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Jul 11 2007 18:24:06 +0000 Subject: - update to 2.8.4 - obsolete compat-wxGTK - add -fno-strict-aliasing --- diff --git a/.cvsignore b/.cvsignore index da55403..5729026 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -wxGTK-2.8.3.tar.bz2 +wxGTK-2.8.4.tar.bz2 diff --git a/sources b/sources index 1da59bc..d6af62c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -758a7aa5d1a0403a571823762b0ebe2a wxGTK-2.8.3.tar.bz2 +22e42c1601d9759530c875ffa2c3c554 wxGTK-2.8.4.tar.bz2 diff --git a/wxGTK.spec b/wxGTK.spec index 9d957e2..10b7d79 100644 --- a/wxGTK.spec +++ b/wxGTK.spec @@ -5,8 +5,8 @@ %define withodbc 0 Name: wxGTK -Version: 2.8.3 -Release: 2%{?dist} +Version: 2.8.4 +Release: 1%{?dist} Summary: GTK2 port of the wxWidgets GUI library # The wxWindows licence is the LGPL with a specific exemption allowing # distribution of derived binaries under any terms. (This will eventually @@ -44,6 +44,9 @@ Obsoletes: wxGTK-stc < 2.6.2-1 Provides: wxGTK2-stc = %{version}-%{release} Provides: wxGTK-stc = %{version}-%{release} +# time to clean up the compat package. +Obsoletes: compat-wxGTK < 2.8.0 + %description wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets GUI library, offering classes for all common GUI controls as well as a @@ -102,6 +105,10 @@ sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure export GDK_USE_XFT=1 +# this code dereferences type-punned pointers like there's no tomorrow. +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" + # --disable-optimise prevents our $RPM_OPT_FLAGS being overridden # (see OPTIMISE in configure). %configure \ @@ -213,6 +220,11 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Jul 11 2007 Matthew Miller - 2.8.4-1 +- update to 2.8.4 +- obsolete compat-wxGTK +- add -fno-strict-aliasing + * Sun Apr 15 2007 Matthew Miller - 2.8.3-2 - gratuitously bump release number.