1 --- Math-Pari-2.030518/Pari.xs.orig 2021-06-24 18:30:57.496616128 +0200
2 +++ Math-Pari-2.030518/Pari.xs 2021-06-24 20:04:03.246355523 +0200
7 - case G_SCALAR: sv_catpvf(d->acc, " %2d: %s\n",
8 + case G_SCALAR: sv_catpvf(d->acc, " %2ld: %s\n",
9 d->items - 1, SvPV_nolen(tmp));
10 SvREFCNT_dec(tmp); break;
11 case G_ARRAY: av_push((AV*)d->acc,tmp); break;
12 @@ -2036,11 +2036,11 @@
13 # if PARI_VERSION_EXP < 2010000
14 # define TAG_community 15 /* "The PARI community" */
15 # else /* !(PARI_VERSION_EXP < 2010000) */
16 -# if PARI_VERSION_EXP < 2012000
17 +# if PARI_VERSION_EXP < 2014000
18 # define TAG_community 17 /* "The PARI community" */
19 -# else /* !(PARI_VERSION_EXP < 2012000) */
20 +# else /* !(PARI_VERSION_EXP < 2014000) */
21 # define TAG_community_unknown
22 -# endif /* !(PARI_VERSION_EXP < 2012000) */
23 +# endif /* !(PARI_VERSION_EXP < 2014000) */
24 # endif /* !(PARI_VERSION_EXP < 2010000) */
25 #endif /* !(PARI_VERSION_EXP < 2008000) */
31 -#if PARI_VERSION_EXP < 2013000
32 +#if PARI_VERSION_EXP < 2014000
33 /* Suggestion on format (part of 2.10.0), only use short names: "4: functions related to COMBINATORICS\n13: L-FUNCTIONS" */
35 #else /* !( PARI_VERSION_EXP < 2011000) */
40 - croak("Unsupported Pari function %s, interface 0 code NULL");
41 + croak("Unsupported Pari function %s, interface 0 code NULL", name);
42 } else if (ep->code[0] == 'p' && ep->code[1] == 0) {
44 } else if (ep->code[0] == 0) {
45 @@ -3886,10 +3886,10 @@
49 - croak("Unsupported interface %d for \"direct-link\" Pari function %s",
50 + croak("Unsupported interface %ld for \"direct-link\" Pari function %s",
53 - croak("Unsupported interface %d and no code for a Pari function %s",
54 + croak("Unsupported interface %ld and no code for a Pari function %s",
58 --- Math-Pari-2.030518/libPARI/Makefile.PL.orig 2021-06-24 21:41:42.021282480 +0200
59 +++ Math-Pari-2.030518/libPARI/Makefile.PL 2021-06-24 21:41:46.411258697 +0200
62 my $kern = "$kernel_dir/none";
63 my @dep # Copied from src/kernel/none/MakeLVL1.SH 2.2.10
64 - = "$kern/mp.c $kern/cmp.c $kern/gcdll.c $kern/ratlift.c $kern/gcd.c $kern/invmod.c $kern/mp_indep.c $kern/add.c";
65 + = "$kern/mp.c $kern/cmp.c $kern/gcdll.c $kern/halfgcd.c $kern/ratlift.c $kern/invmod.c $kern/gcd.c $kern/mp_indep.c $kern/add.c";
66 -f "$main_paridir/src/kernel/$_" and push @dep, "$kernel_dir/$_" for "none/gcdext.c"; # When did it appear? Was: if $pari_version > 2004000