commit 6087df7eea19f76487d09c155b1edee00fb645dc Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Sat Oct 13 10:49:13 2012 +0200
- updated: pari 2.5.3, gp2c 0.0.7pl3 - updated no-proccpuinfo,perl-Math-Pari-update patches parigp-no-proccpuinfo.patch | 4 ++-- parigp.spec | 10 ++++----- perl-Math-Pari-update.patch | 50 +++++++++++++++++++++++++++------------------ 3 files changed, 37 insertions(+), 27 deletions(-) --- diff --git a/parigp.spec b/parigp.spec index 5761e64..96c856e 100644 --- a/parigp.spec +++ b/parigp.spec @@ -3,8 +3,8 @@ %bcond_without tex # don't build tex documentation # %include /usr/lib/rpm/macros.perl -%define pari_version 2.5.1 -%define gp2c_version 0.0.7pl1 +%define pari_version 2.5.3 +%define gp2c_version 0.0.7pl3 %define math_pari_version 2.01080605 Summary: Number Theory-oriented Computer Algebra System Summary(pl.UTF-8): Komputerowy system obliczeń algebraicznych zorientowany na metody teorii liczb @@ -14,12 +14,12 @@ Release: 1 License: GPL Group: Applications/Math Source0: ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/pari-%{pari_version}.tar.gz -# Source0-md5: d267dd1be4839f209217c8fff615478e +# Source0-md5: ce4e09bb7225a63172cea9021d5d2704 Source1: ftp://megrez.math.u-bordeaux.fr/pub/pari/galdata.tgz # Source1-md5: 25eab5f9dfdb8715b9ace8cd68210425 Source2: ftp://megrez.math.u-bordeaux.fr/pub/pari/GP2C/gp2c-%{gp2c_version}.tar.gz -# Source2-md5: 3365354cd4954360cdbe9bfe7defa992 -Source3: http://search.cpan.org/CPAN/modules/by-module/Math/Math-Pari-%{math_pari_version}.tar.gz +# Source2-md5: db3e980199559c27bf5e46c76a899323 +Source3: http://www.cpan.org/modules/by-module/Math/Math-Pari-%{math_pari_version}.tar.gz # Source3-md5: ccb3da2bdce184a5df3f52cfa8b43a85 Source4: %{name}.desktop Source5: %{name}.png diff --git a/parigp-no-proccpuinfo.patch b/parigp-no-proccpuinfo.patch index d26f54a..c5caf3b 100644 --- a/parigp-no-proccpuinfo.patch +++ b/parigp-no-proccpuinfo.patch @@ -9,8 +9,8 @@ *SuperSparc*) arch=sparcv8_super;; *TMS390Z5[05]*) arch=sparcv8_super;; # SuperSparc I or II *TMS390S1[05]*) arch=sparcv8_micro;; # MicroSparc I ---- pari-2.1.7/gp2c-0.0.7pl1/config/arch-osname.orig 2001-03-18 21:55:19.000000000 +0100 -+++ pari-2.1.7/gp2c-0.0.7pl1/config/arch-osname 2004-03-05 20:09:50.367792600 +0100 +--- pari-2.1.7/gp2c-0.0.7pl3/config/arch-osname.orig 2001-03-18 21:55:19.000000000 +0100 ++++ pari-2.1.7/gp2c-0.0.7pl3/config/arch-osname 2004-03-05 20:09:50.367792600 +0100 @@ -16,7 +16,7 @@ osf1) case "$5" in alpha) arch=alpha;; esac;; cygwin*) arch=$HOSTTYPE;; diff --git a/perl-Math-Pari-update.patch b/perl-Math-Pari-update.patch index c23db7c..fec8938 100644 --- a/perl-Math-Pari-update.patch +++ b/perl-Math-Pari-update.patch @@ -1,5 +1,5 @@ ---- pari-2.5.1/Math-Pari-2.01080605/Pari.xs.orig 2012-02-19 14:58:30.321452391 +0100 -+++ pari-2.5.1/Math-Pari-2.01080605/Pari.xs 2012-02-19 16:17:25.268277599 +0100 +--- pari-2.5.3/Math-Pari-2.01080605/Pari.xs.orig 2010-09-11 23:33:30.000000000 +0200 ++++ pari-2.5.3/Math-Pari-2.01080605/Pari.xs 2012-10-13 09:59:33.443018028 +0200 @@ -547,7 +547,7 @@ && lgef(x)==4 /* 2 terms */ && (gcmp0((GEN)x[2])) /* Free */ @@ -38,24 +38,25 @@ #endif long -@@ -1324,7 +1324,7 @@ +@@ -1317,17 +1324,6 @@ moveoffstack_newer_than((SV *) GENfirstOnStack); } -UV -+void - allocatemem(UV newsize) - { - if (newsize) { -@@ -1332,7 +1332,6 @@ - parisize = allocatemoremem(newsize); - perlavma = sentinel = avma; - } +-allocatemem(UV newsize) +-{ +- if (newsize) { +- detach_stack(); +- parisize = allocatemoremem(newsize); +- perlavma = sentinel = avma; +- } - return parisize; - } - +-} +- -@@ -3466,8 +3465,8 @@ + GEN + callPerlFunction(entree *ep, ...) +@@ -3459,8 +3455,8 @@ else warn("`%s' is an obsolete Pari function name", name); } @@ -66,15 +67,24 @@ /* Builtin */ IV table_valence = 99; -@@ -4016,7 +4015,7 @@ - - #else /* !( HAVE_UVs ) */ +@@ -3999,17 +3998,5 @@ + # and it needs to convert *all* the branches. + #/* #if defined(PERL_VERSION) && (PERL_VERSION >= 6)*//* 5.6.0 has UV in the typemap */ +-#if 0 +-#UV +-#allocatemem(newsize = 0) +-#UV newsize +- +-#else /* !( HAVE_UVs ) */ +- -unsigned long -+void - allocatemem(newsize = 0) - unsigned long newsize +-allocatemem(newsize = 0) +- unsigned long newsize +- +-#endif /* !( HAVE_UVs ) */ + long --- pari-2.5.1/Math-Pari-2.01080605/func_codes.h.orig 2004-02-01 10:27:30.000000000 +0100 +++ pari-2.5.1/Math-Pari-2.01080605/func_codes.h 2012-02-19 21:26:18.835564839 +0100 @@ -587,3 +587,4 @@ ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/parigp.git/commitdiff/6087df7eea19f76487d09c155b1edee00fb645dc _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit