void-packages/srcpkgs/giac/patches/pari_2_11.patch
Đoàn Trần Công Danh 7fc9190f0e srcpkgs/g*: convert patches to -Np1
* gcc is kept at -Np0, because of void-cross

```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

17 lines
783 B
Diff

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,