diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-06-28 04:57:27 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-06-28 04:57:27 +0000 |
commit | 0bd3f8bbf1e407cb0024d93b1bdfc4f2dedf4092 (patch) | |
tree | 9e1df7da0babaf77fe88fefb4814023ee06cf005 /sci-mathematics/pari | |
parent | version bump (bug #423905) (diff) | |
download | gentoo-2-0bd3f8bbf1e407cb0024d93b1bdfc4f2dedf4092.tar.gz gentoo-2-0bd3f8bbf1e407cb0024d93b1bdfc4f2dedf4092.tar.bz2 gentoo-2-0bd3f8bbf1e407cb0024d93b1bdfc4f2dedf4092.zip |
Fixed linear solving with gcc-4.7, bug #423617
(Portage version: 2.1.11.1/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/pari')
-rw-r--r-- | sci-mathematics/pari/ChangeLog | 6 | ||||
-rw-r--r-- | sci-mathematics/pari/files/pari-2.5.1-gcc47.patch | 18 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.5.1.ebuild | 4 |
3 files changed, 26 insertions, 2 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index f7bcb8286e3f..2f23e8526fe1 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/pari # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.87 2012/03/06 17:06:06 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.88 2012/06/28 04:57:27 bicatali Exp $ + + 28 Jun 2012; Sébastien Fabbro <bicatali@gentoo.org> + +files/pari-2.5.1-gcc47.patch, pari-2.5.1.ebuild: + Fixed linear solving with gcc-4.7, bug #423617 *pari-2.5.1 (06 Mar 2012) diff --git a/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch b/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch new file mode 100644 index 000000000000..e7b27159fa06 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch @@ -0,0 +1,18 @@ +Index: pari-2.5.1/src/basemath/bibli2.c +=================================================================== +--- pari-2.5.1.orig/src/basemath/bibli2.c 2012-01-26 17:26:13.000000000 +0100 ++++ pari-2.5.1/src/basemath/bibli2.c 2012-06-04 10:08:41.000000000 +0200 +@@ -1394,12 +1394,12 @@ + int (*CMP)(void*,GEN,GEN); + int (*cmp)(GEN,GEN) = (flag & cmp_LEX)? &lexcmp: &gcmp; + void *E; ++ struct veccmp_s v; + + if (flag < 0 || flag > (cmp_REV|cmp_LEX|cmp_IND|cmp_UNIQ)) + pari_err(flagerr,"vecsort"); + if (k) { + long i, j, l, lk, tx, lx; +- struct veccmp_s v; + GEN y; + + /* cf init_sort */ diff --git a/sci-mathematics/pari/pari-2.5.1.ebuild b/sci-mathematics/pari/pari-2.5.1.ebuild index 3cd3ed374b5d..b3f62ff4dc68 100644 --- a/sci-mathematics/pari/pari-2.5.1.ebuild +++ b/sci-mathematics/pari/pari-2.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.5.1.ebuild,v 1.1 2012/03/06 17:06:06 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.5.1.ebuild,v 1.2 2012/06/28 04:57:27 bicatali Exp $ EAPI="4" @@ -43,6 +43,8 @@ src_prepare() { epatch "${FILESDIR}/${PN}"-2.5.0-mp.c.patch # OS X: add -install_name to the linker option epatch "${FILESDIR}/${PN}"-2.5.0-macos.patch + # from debian, fies bug #423617 + epatch "${FILESDIR}/${PN}"-2.5.1-gcc47.patch # disable default building of docs during install sed -i \ |