summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-10-20 21:34:16 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-10-20 21:34:16 +0000
commitc4d2e433bd31f8f34e1d13cc8ca9b7b4d0c94730 (patch)
tree9be4fd06d59ce5f4e3851d2054d76cf1030b4e15
parentVersion bump (diff)
downloadhistorical-c4d2e433bd31f8f34e1d13cc8ca9b7b4d0c94730.tar.gz
historical-c4d2e433bd31f8f34e1d13cc8ca9b7b4d0c94730.tar.bz2
historical-c4d2e433bd31f8f34e1d13cc8ca9b7b4d0c94730.zip
Filtered optimization more than O1 for gcc<4.2; now passes regression tests
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64
-rw-r--r--sci-mathematics/ginac/ChangeLog6
-rw-r--r--sci-mathematics/ginac/Manifest10
-rw-r--r--sci-mathematics/ginac/ginac-1.4.3.ebuild9
3 files changed, 16 insertions, 9 deletions
diff --git a/sci-mathematics/ginac/ChangeLog b/sci-mathematics/ginac/ChangeLog
index 42ac95b277b3..b35938921739 100644
--- a/sci-mathematics/ginac/ChangeLog
+++ b/sci-mathematics/ginac/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/ginac
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.21 2008/09/29 14:10:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.22 2008/10/20 21:34:16 bicatali Exp $
+
+ 20 Oct 2008; Sébastien Fabbro <bicatali@gentoo.org> ginac-1.4.3.ebuild:
+ Filtered optimization more than O1 for gcc<4.2; now passes regression
+ tests
29 Sep 2008; Sébastien Fabbro <bicatali@gentoo.org> -ginac-1.4.1.ebuild,
ginac-1.4.3.ebuild:
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index aa6df76dd795..dd919e9bb98c 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -5,13 +5,13 @@ AUX ginac-1.4.1-gcc4.3.patch 902 RMD160 de2c683802e77277679b1ea2ee5dfae5278d247d
DIST ginac-1.3.7.tar.bz2 793441 RMD160 04ce8fce6e7aba29835a5a8d925b2a6ea630d9cc SHA1 5c6d4ebe3d80de835a456cb8e0853ece0847df26 SHA256 a550af7f970ce93651b63951b0a1d013f264204cd82774d0984c7b5f89c8815a
DIST ginac-1.4.3.tar.bz2 847869 RMD160 a24e91ab55533f0eef22a54fb1f2abef6a70869f SHA1 0e560bb9420c16bf182829d35f9841f8b7f76d2e SHA256 dcd6991abae6df2fa247b57d754b8cbd9cc8119268c15d3470b3286132f7708f
EBUILD ginac-1.3.7.ebuild 580 RMD160 52471984e197c41b55c308d337c2d32a132454e2 SHA1 f658a36200acc824e71345447a14e994152fd43c SHA256 83e220e3dfcae96d3aa716c07f93d4e1a0f1c140e97cb09ca9f519451cec6dd4
-EBUILD ginac-1.4.3.ebuild 1427 RMD160 0fb909dee420d20b3ffa695111a6e5aa68223b09 SHA1 64f3a82991505f5366ede485d0d47fa18c582597 SHA256 8e12012f537c650a6f0878c34ec4fe31ae5ce7cc573b1edf871c1e2b46db490b
-MISC ChangeLog 4298 RMD160 480be7d0387c1cd6c373eb4d61ef9c16387ba9cc SHA1 f0b09abd918d5c91d76862e64a0c8fdfb49b13d0 SHA256 a241c9196fdd6f4424a3e7a9a6706656d420f429e173ff3f0a103b91feef516d
+EBUILD ginac-1.4.3.ebuild 1553 RMD160 358f97b930c30f8307b44613fe028d62310dacd4 SHA1 1749fc43a599acedcca87253a1d4d16add2be75e SHA256 9fa9cb1d7a2b0fdc261d9e9efef78486404e4b0b8d34523761464f7bb0dadd41
+MISC ChangeLog 4454 RMD160 b55d912a898cc8d30844eb3a691666380a13d002 SHA1 b5c10a820bfc38de4f36ee5ddd882d3e5bb5035e SHA256 68e059a38f33b95d5c01a9f30a2e207467e384756f093df9dbf592cbd6c9e098
MISC metadata.xml 582 RMD160 0f0b60e373c8fee0efbebb7b7fd2420e2052082e SHA1 7e2a04c2da42292f37e33d06fc2e15305687bcdf SHA256 a68adc59dd6641c75f663a7be278804746fc15f64707b2570ed88918c6f9ff33
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjg4cYACgkQ1ycZbhPLE2CGIwCgqSe7mKhxAwp6EIl1gx26Lr61
-EqwAnR4GAa1vEP1ebltptQqhaO8zv7tu
-=Vpdq
+iEYEARECAAYFAkj8+WMACgkQ1ycZbhPLE2A5SQCgjIAinN5URFxNgTmitQbpIsDh
+zDEAoIB8Hl/kBBvghStCtMYUx7GfmcNu
+=o7se
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/ginac/ginac-1.4.3.ebuild b/sci-mathematics/ginac/ginac-1.4.3.ebuild
index bc6fcf8c6170..a8623495045e 100644
--- a/sci-mathematics/ginac/ginac-1.4.3.ebuild
+++ b/sci-mathematics/ginac/ginac-1.4.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.4.3.ebuild,v 1.4 2008/09/29 14:10:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.4.3.ebuild,v 1.5 2008/10/20 21:34:16 bicatali Exp $
-inherit eutils
+inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="C++ library and tools for symbolic calculations"
SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2"
@@ -23,7 +23,10 @@ DEPEND="${RDEPEND}
app-text/ptex ) )"
src_compile() {
- econf || die "econf failed"
+ [[ $(tc-getCXX) == *g++ ]] && \
+ [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] && \
+ replace-flags -O? -O1
+ econf
emake || die "emake failed"
if use doc; then
# need to run twice to get the references right (you know, latex)