Backport upstream Rotation2D fix

This commit is contained in:
Rich Mattes 2015-01-04 20:20:13 -05:00
parent 18c5916d01
commit 671ad21410
2 changed files with 27 additions and 1 deletions

20
eigen3-5d9e44.patch Normal file
View File

@ -0,0 +1,20 @@
# HG changeset patch
# User Gael Guennebaud <g.gael@free.fr>
# Date 1418910820 -3600
# Branch 3.2
# Node ID 5d9e54445535570698f7465582c7256d9d74c004
# Parent 9716ca6de21838927484f3c33050648bac890ac3
rm explicit keyword introduced by backporting another change
diff --git a/Eigen/src/Geometry/Rotation2D.h b/Eigen/src/Geometry/Rotation2D.h
--- a/Eigen/src/Geometry/Rotation2D.h
+++ b/Eigen/src/Geometry/Rotation2D.h
@@ -59,7 +59,7 @@
public:
/** Construct a 2D counter clock wise rotation from the angle \a a in radian. */
- explicit inline Rotation2D(const Scalar& a) : m_angle(a) {}
+ inline Rotation2D(const Scalar& a) : m_angle(a) {}
/** Default constructor wihtout initialization. The represented rotation is undefined. */
Rotation2D() {}

View File

@ -8,7 +8,7 @@
Name: eigen3
Version: 3.2.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A lightweight C++ template library for vector and matrix math
Group: Development/Libraries
@ -20,6 +20,8 @@ Source0: eigen-%{version}.tar.bz2
# Fix build with recent suitesparse versions
Patch0: eigen-3.2.3_suitesparse.patch
# Backport of upstream regression fix in Rotation2D.
Patch1: eigen3-5d9e44.patch
BuildRequires: atlas-devel
BuildRequires: fftw-devel
@ -62,6 +64,7 @@ Developer documentation for Eigen.
%prep
%setup -q -n eigen-eigen-%{commit}
%patch0 -p1
%patch1 -p1
%build
mkdir %{_target_platform}
@ -97,6 +100,9 @@ make -C %{_target_platform} %{?_smp_mflags} test ARGS="-V" || exit 0
%doc %{_target_platform}/doc/html
%changelog
* Mon Jan 05 2015 Rich Mattes <richmattes@gmail.com> - 3.2.3-2
- Backport upstream Rotation2D fix
* Thu Dec 18 2014 Sandro Mani <manisandro@gmail.com> - 3.2.3-1
- Update to release 3.2.3
- Drop upstreamed eigen3-ppc64.patch