Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/
Date: Sun, 26 Sep 2021 11:41:00
Message-Id: 1632655596.3add16fb570738c4de8813441f5bdc8ad919f514.conikost@gentoo
1 commit: 3add16fb570738c4de8813441f5bdc8ad919f514
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Sun Sep 26 10:28:28 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 26 11:26:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3add16fb
7
8 sci-mathematics/pari: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/22410
11 Package-Manager: Portage-3.0.23, Repoman-3.0.3
12 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 .../pari/files/pari-2.13.1-rnfdisc.patch | 35 ----------------------
16 1 file changed, 35 deletions(-)
17
18 diff --git a/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch b/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch
19 deleted file mode 100644
20 index 39d325911e8..00000000000
21 --- a/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch
22 +++ /dev/null
23 @@ -1,35 +0,0 @@
24 -From 3edb98db78dd49bb8b4137b46781a7cd570c2556 Mon Sep 17 00:00:00 2001
25 -From: Bill Allombert <Bill.Allombert@×××××××××××××××.fr>
26 -Date: Sun, 28 Mar 2021 13:27:24 +0200
27 -Subject: [PATCH] rnfdisc_factored: remove spurious Q_primpart [#2284]
28 -
29 -diff --git a/src/basemath/base2.c b/src/basemath/base2.c
30 -index b2b63ada5..531f5c558 100644
31 ---- a/src/basemath/base2.c
32 -+++ b/src/basemath/base2.c
33 -@@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd)
34 -
35 - nf = checknf(nf);
36 - pol = rnfdisc_get_T(nf, pol, &lim);
37 -- disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol)));
38 -+ disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol));
39 - pol = nfX_to_monic(nf, pol, NULL);
40 - fa = idealfactor_partial(nf, disc, lim);
41 - P = gel(fa,1); l = lg(P);
42 -diff --git a/src/test/32/rnf b/src/test/32/rnf
43 -index 6bd4585..d24e1ce 100644 (file)
44 ---- a/src/test/32/rnf
45 -+++ b/src/test/32/rnf
46 -@@ -832,9 +832,9 @@ error("inconsistent dimensions in idealtwoelt.")
47 - 0
48 - 0
49 - 1
50 --[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0]
51 --~]
52 --[2, -1]
53 -+[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25
54 -+/17, -12/17, 12/17, 16/17]~]
55 -+[1, -1]
56 - *** at top-level: rnfdedekind(nf,P,pr2,1)
57 - *** ^-----------------------
58 - *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented.