[wfmath] gcc 4.7 requires math.h to be included now
Bruno Wolff III
bruno at fedoraproject.org
Mon Jan 16 19:26:46 UTC 2012
commit bcfb7d772dc6f76e39d16cd00760b5ae7425fd4c
Author: Bruno Wolff III <bruno at wolff.to>
Date: Mon Jan 16 13:23:55 2012 -0600
gcc 4.7 requires math.h to be included now
I am not sure if this is an optimization change or an include change,
but we now need to include math.h in copule of places it wasn't
necessary before.
This will probably fix a few other packages also using wfmath.
wfmath.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/wfmath.spec b/wfmath.spec
index a885c3c..7a0fbab 100644
--- a/wfmath.spec
+++ b/wfmath.spec
@@ -1,6 +1,6 @@
Name: wfmath
Version: 0.3.11
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: WorldForge client math libraries
Group: Development/Libraries
@@ -8,6 +8,7 @@ License: GPLv2+
URL: http://worldforge.org/dev/eng/libraries/wfmath
Source0: http://downloads.sourceforge.net/sourceforge/worldforge/%{name}-%{version}.tar.bz2
Patch0: wfmath-instantiate.patch
+Patch1: wfmath-math-include.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig doxygen
@@ -33,6 +34,7 @@ Libraries and header files for developing applications that use wfmath.
%prep
%setup -q
%patch0 -p0
+%patch1 -p0
%build
@@ -94,6 +96,9 @@ make %{?_smp_mflags} check
%changelog
+* Mon Jan 16 2012 Bruno Wolff III <bruno at wolff.to> 0.3.11-4
+- gcc 4.7 requires math.h to be included now in a couple of places
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list