SHA256
1
0
forked from pool/pari
Jan Engelhardt 2014-02-05 02:02:01 +00:00 committed by Git OBS Bridge
parent 98cf084d7d
commit d328696806
7 changed files with 96 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e17e1935ce7eba16d95cbabccb6ba8e0b6eedd866d7ab1536de8d1bac5755710
size 1887236

View File

@ -1,6 +1,44 @@
# $Id$ # $Id$
Bug numbers refer to the BTS at http://pari.math.u-bordeaux.fr/Bugs/ Bug numbers refer to the BTS at http://pari.math.u-bordeaux.fr/Bugs/
[last column crossreferences current development release 2.6.1]
Done for version 2.5.5 (released 20/09/2013):
Fixed
BA 1- [native kernel] FFT mulii relied on unspecified order
of evaluation [2.6.0-F118]
BA 2- [Configure] fix support for multiarch systems for GMP
3- local() could corrupt polynomial variable of the same name [F4]
4- Flm_Fl_mul returned a wrong result [F12]
5- allocatemem(2^36-1) --> corrupted stack [#1437] [F14]
6- stack corruption in carberkowitz / charpoly(,,3) [ session crash ] [F19]
7- subst(O(x^2),x,0*x) => SEGV [#1447] [F20]
8- bnfcertify() when primelimit < Zimmert bound => oo loop
9- dirmul/dirdiv: incorrect result length when valuation > 1 [F23]
10- x,y a t_PADIC, x === y always returned 0 [F24]
11- round((1e-40+x) / (1e-39+x)) would create the invalid object x/x [F26]
12- polgalois(x^11 + 627*x^4 - 584) -> F_110 instead of S_11 [#1460] [F27]
[last column crossreferences current development release 2.6.0]
Done for version 2.5.4 (released 13/05/2013):
Fixed
1- sin'(1) with default(compatible,3) caused a crash [F97]
2- rare corruption in ECM [#1240] factorint(,1) => SEGV [F98]
3- add missing call to normalize() in lift(t_POL/t_SER) [#1359] [F99]
BA 4- listput was not SIGINT safe [F100]
BA 5- znorder(Mod(5,16),200) -> 5 instead of 4 [F101]
JD 6- galoisinit(x^3+x^2-2*x-1) -> uninitialized read [#1389] [F106]
BA 7- polhermite(66) -> corrupted result [#1393] [F107]
8- polred() could return non-squarefree polynomials [#1395]
BA 9- galoisfixedfield() could return a wrong result for polynomials [F109]
with large roots [#1406]
10- bnrdisc could return a wrong result if the modulus had more than [F110]
2 prime divisors [#1399]
11- y;z;(x^2+y)*w/z/x -> significant pointers lost [#1248] [F113]
12- thue(thueinit(x^3-1493,1),3) -> error [F115]
13- typo in modr_safe -> precision error [#1413] [F116]
[last column crossreferences current development release 2.6.0] [last column crossreferences current development release 2.6.0]
Done for version 2.5.3 (released 03/10/2012): Done for version 2.5.3 (released 03/10/2012):

3
pari-2.5.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:766f86f454c4a4ef5a4cfad9fde3d8348812ab22223812638bc7bf075de01615
size 2727321

7
pari-2.5.5.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEABECAAYFAlIrGU0ACgkQeDPs8bVESBVJowCggsFRLggFYxiIrBZntkHkGU0q
o0YAmwb3J2GTm4lQdasIntzKo1zOJill
=FTqh
-----END PGP SIGNATURE-----

26
pari-nodate.diff Normal file
View File

@ -0,0 +1,26 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-02-05 03:01:02.110857012 +0100
Kill __DATE__ from source, it's pointless and can cause rebuilds.
---
src/gp/gp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: pari-2.5.5/src/gp/gp.c
===================================================================
--- pari-2.5.5.orig/src/gp/gp.c
+++ pari-2.5.5/src/gp/gp.c
@@ -823,9 +823,9 @@ print_version(void)
center(paricfg_version);
center(paricfg_buildinfo);
- buf = stackmalloc(strlen(__DATE__) + 32 + (ver? strlen(ver): 0));
- if (ver) (void)sprintf(buf, "compiled: %s, %s", __DATE__, ver);
- else (void)sprintf(buf, "compiled: %s", __DATE__);
+ buf = stackmalloc(strlen("yes") + 32 + (ver? strlen(ver): 0));
+ if (ver) (void)sprintf(buf, "compiled: %s, %s", "yes", ver);
+ else (void)sprintf(buf, "compiled: %s", "yes");
center(buf);
ver = what_readline();
buf = stackmalloc(strlen(ver) + 64);

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Feb 5 01:56:32 UTC 2014 - jengelh@inai.de
- Update to new upstream release 2.5.5
* sin'(1) with default(compatible,3) caused a crash
* add missing call to normalize() in lift(t_POL/t_SER)
* galoisinit(x^3+x^2-2*x-1) led to uninitialized read
* polred() could return non-squarefree polynomials
* bnrdisc could return a wrong result if the modulus had more than
2 prime divisors
* FFT mulii relied on unspecified order of evaluation
* local() could corrupt polynomial variable of the same name
- Add pari-nodate.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 6 20:10:01 UTC 2013 - jengelh@inai.de Sun Jan 6 20:10:01 UTC 2013 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package pari # spec file for package pari
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,22 +18,23 @@
Name: pari Name: pari
%define lname libpari-gmp3 %define lname libpari-gmp3
Version: 2.5.3 Version: 2.5.5
Release: 0 Release: 0
Summary: Computer Algebra System for fast computations in Number Theory Summary: Computer Algebra System for fast computations in Number Theory
License: GPL-2.0 License: GPL-2.0
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Url: http://pari.math.u-bordeaux.fr/ Url: http://pari.math.u-bordeaux.fr/
#DL-URL: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.tar.gz #Git-Clone: http://pari.math.u-bordeaux.fr/git/pari.git
Source: %name-%version.tar.xz #Git-Web: http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi
Source2: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.changelog Source: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%version.tar.gz
Source2: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%version.tar.gz.asc
Source3: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%version.changelog
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fltk-devel BuildRequires: fltk-devel
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: libqt4-devel BuildRequires: libqt4-devel
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: xz
%if 0%{?suse_version} >= 1220 %if 0%{?suse_version} >= 1220
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: xorg-x11-proto-devel BuildRequires: xorg-x11-proto-devel
@ -100,7 +101,7 @@ make %{?_smp_mflags} all \
CFLAGS="%optflags -fno-strict-aliasing" \ CFLAGS="%optflags -fno-strict-aliasing" \
STRIP=true; STRIP=true;
cp "%{S:2}" .; cp "%{S:3}" .;
%install %install
b="%buildroot"; b="%buildroot";