summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-04-17 12:04:24 +0000
committerJustin Lecher <jlec@gentoo.org>2011-04-17 12:04:24 +0000
commit0e7db0133fee4d88369111d2edcbf86dec2bd262 (patch)
tree5b49cadfa472b786f384685a64d51ed8b2871a45 /dev-cpp/eigen
parentVersion Bump, backport fix for gcc46 problems, #363223 (diff)
downloadgentoo-2-0e7db0133fee4d88369111d2edcbf86dec2bd262.tar.gz
gentoo-2-0e7db0133fee4d88369111d2edcbf86dec2bd262.tar.bz2
gentoo-2-0e7db0133fee4d88369111d2edcbf86dec2bd262.zip
Fix for gcc-4.6 changes, #362545
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/eigen')
-rw-r--r--dev-cpp/eigen/ChangeLog6
-rw-r--r--dev-cpp/eigen/eigen-3.0.0.ebuild4
-rw-r--r--dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch16
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 3c8766936ca5..fe590167be16 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/eigen
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.45 2011/04/17 12:04:24 jlec Exp $
+
+ 17 Apr 2011; Justin Lecher <jlec@gentoo.org> eigen-3.0.0.ebuild,
+ +files/eigen-3.0.0-gcc46.patch:
+ Fix for gcc-4.6 changes, #362545
*eigen-3.0.0 (25 Mar 2011)
diff --git a/dev-cpp/eigen/eigen-3.0.0.ebuild b/dev-cpp/eigen/eigen-3.0.0.ebuild
index 08758a93450d..9cd687056ef2 100644
--- a/dev-cpp/eigen/eigen-3.0.0.ebuild
+++ b/dev-cpp/eigen/eigen-3.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-3.0.0.ebuild,v 1.1 2011/03/25 16:01:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-3.0.0.ebuild,v 1.2 2011/04/17 12:04:24 jlec Exp $
EAPI="2"
@@ -18,6 +18,8 @@ IUSE="debug doc"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND="!dev-cpp/eigen:0"
+PATCHES=( "${FILESDIR}"/${P}-gcc46.patch )
+
src_unpack() {
unpack ${A}
mv ${PN}* ${P}
diff --git a/dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch b/dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch
new file mode 100644
index 000000000000..ca4410be7ddf
--- /dev/null
+++ b/dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch
@@ -0,0 +1,16 @@
+ Eigen/src/StlSupport/details.h | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/Eigen/src/StlSupport/details.h b/Eigen/src/StlSupport/details.h
+index 397c8ef..c1ac745 100644
+--- a/Eigen/src/StlSupport/details.h
++++ b/Eigen/src/StlSupport/details.h
+@@ -30,6 +30,8 @@
+ #define EIGEN_ALIGNED_ALLOCATOR Eigen::aligned_allocator
+ #endif
+
++#include <cstddef>
++
+ namespace Eigen {
+
+ // This one is needed to prevent reimplementing the whole std::vector.