From 8f0668954ecc5b062527e959a03d5a6b254d7ef4 Mon Sep 17 00:00:00 2001 From: mharris Date: Oct 31 2005 06:20:37 +0000 Subject: - Build with -fno-strict-aliasing to work around possible pointer aliasing issue --- diff --git a/libXt.spec b/libXt.spec index c692efa..f800768 100644 --- a/libXt.spec +++ b/libXt.spec @@ -1,7 +1,7 @@ Summary: X.Org X11 libXt runtime library Name: libXt Version: 0.99.1 -Release: 1 +Release: 2 License: MIT/X11 Group: System Environment/Libraries URL: http://www.x.org @@ -36,6 +36,17 @@ X.Org X11 libXt development package %define with_static 0 %build +# FIXME: Work around pointer aliasing warnings from compiler for now +# EventUtil.c:105: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1122: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1132: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1142: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1156: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1299: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1315: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1340: warning: dereferencing type-punned pointer will break strict-aliasing rules +# NextEvent.c:1572: warning: dereferencing type-punned pointer will break strict-aliasing rules +export CFLAGS="$RPM_OPTFLAGS -fno-strict-aliasing" %configure \ %if ! %{with_static} --disable-static @@ -112,6 +123,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3x/*.3x* %changelog +* Mon Oct 31 2005 Mike A. Harris 0.99.2-2 +- Build with -fno-strict-aliasing to work around possible pointer aliasing + issue + * Mon Oct 24 2005 Mike A. Harris 0.99.1-1 - Updated libXt to version 0.99.1 from X11R7 RC1 - Updated file manifest to find manpages in 'man3x'