From 21ba7540d385a9864b44850d6987893dfa16bfc0 Mon Sep 17 00:00:00 2001 From: Jeroen Demeyer Date: Tue, 7 Aug 2018 17:05:47 +0200 Subject: [PATCH] Add giac patch for PARI 2.11 --- build/pkgs/giac/package-version.txt | 2 +- build/pkgs/giac/patches/pari_2_11.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 build/pkgs/giac/patches/pari_2_11.patch diff --git a/build/pkgs/giac/package-version.txt b/build/pkgs/giac/package-version.txt index 0940a51b338..ed6339886c2 100644 --- a/build/pkgs/giac/package-version.txt +++ b/build/pkgs/giac/package-version.txt @@ -1 +1 @@ -1.4.9.45.p3 +1.4.9.45.p4 diff --git a/build/pkgs/giac/patches/pari_2_11.patch b/build/pkgs/giac/patches/pari_2_11.patch new file mode 100644 index 00000000000..24142257a34 --- /dev/null +++ b/build/pkgs/giac/patches/pari_2_11.patch @@ -0,0 +1,17 @@ +Change test output for PARI 2.11 + +See https://trac.sagemath.org/ticket/25567 +and https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=4&t=2102 + +diff -ru a/check/TP11-sol.cas.out1 b/check/TP11-sol.cas.out1 +--- a/check/TP11-sol.cas.out1 2014-10-21 10:51:48.000000000 +0200 ++++ b/check/TP11-sol.cas.out1 2018-08-07 17:04:12.528052773 +0200 +@@ -10,7 +10,7 @@ + 1073741824000000000000000000061203284109000000000000000000000000008409, + 2^3*3*389*733*156904374622257604823879982847602392900751802349981470895277241, + "Done", +-matrix[[2,7,1],[3,2,1],[389,2,1],[733,2,1],[156904374622257604823879982847602392900751802349981470895277241,2,matrix[[2,13,1],[3,3,1],[5,2,1],[7,2,1],[56467,2,1],[6553084925887974620811527,2,matrix[[2,5,1],[19,2,1],[71,2,1],[126823,2,1]]]]]], ++1, + 0, + [], + 1,