- Work around pointer aliasing problem with -fno-strict-aliasing
This commit is contained in:
parent
9d13b872be
commit
c8542aa4e9
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
Summary: X.Org X11 libxkbfile runtime library
|
Summary: X.Org X11 libxkbfile runtime library
|
||||||
Name: libxkbfile
|
Name: libxkbfile
|
||||||
Version: 0.99.1
|
Version: 0.99.1
|
||||||
@ -12,7 +11,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
BuildRequires: xorg-x11-proto-devel
|
BuildRequires: xorg-x11-proto-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
|
|
||||||
|
|
||||||
Conflicts: XFree86-libs, xorg-x11-libs
|
Conflicts: XFree86-libs, xorg-x11-libs
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -23,7 +21,6 @@ Summary: X.Org X11 libxkbfile development package
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
Conflicts: XFree86-devel, xorg-x11-devel
|
Conflicts: XFree86-devel, xorg-x11-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -36,7 +33,9 @@ X.Org X11 libxkbfile development package
|
|||||||
%define with_static 0
|
%define with_static 0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# FIXME: We use -fno-strict-aliasing, to work around the following bug:
|
||||||
|
# maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules)
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%configure \
|
%configure \
|
||||||
%if ! %{with_static}
|
%if ! %{with_static}
|
||||||
--disable-static
|
--disable-static
|
||||||
@ -82,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/xkbfile.pc
|
%{_libdir}/pkgconfig/xkbfile.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
|
||||||
|
- Work around pointer aliasing problem with -fno-strict-aliasing
|
||||||
|
|
||||||
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
|
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
|
||||||
- Updated libxkbfile to version 0.99.1 from X11R7 RC1
|
- Updated libxkbfile to version 0.99.1 from X11R7 RC1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user