diff --git a/Math-Pari-2.030509-utf8.patch b/Math-Pari-2.030509-utf8.patch deleted file mode 100644 index 31ae868..0000000 --- a/Math-Pari-2.030509-utf8.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- Changes.WINDOWS-1251 -+++ Changes -@@ -886,7 +886,7 @@ - Store which patches were applied in $dir/.perl.patches. - Report which patches were not applied. - Export patches_for() from BuildPari. -- pari_tgz build option was broken (by LWP-after-NFTP support code � which, apparently, did not help with timeouts). -+ pari_tgz build option was broken (by LWP-after-NFTP support code — which, apparently, did not help with timeouts). - Ignore 0-size "downloaded" files. - - -@@ -1058,10 +1058,10 @@ - Compensate for: In >= 2.5.0 the definition of taille() and taille2() are mixed up. - Down to 5 crashes (from 8). - dumpStack() renamed to __dumpStack(). -- XXXX should not be used at all: it assumes the entry point to �the region on stack� is at its smallest address. -+ XXXX should not be used at all: it assumes the entry point to “the region on stack” is at its smallest address. - New function dumpStack() for dumping our values on stack. - XXXX evalstate_reset() resets avma!!! Need to grab cb_pari_handle_exception(). -- (Need also to find avma for every eval{} level � and for eval ''... ??? What about globally visible SVs???) -+ (Need also to find avma for every eval{} level — and for eval ''... ??? What about globally visible SVs???) - In cb_pari_handle_exception(), do not let evalstate_reset() reset avma! - Down to 3 crashes. - XXX allocatemem() should check whether it is called from inside a PARI function. -@@ -1085,7 +1085,7 @@ - Extra arguments added to build_funclist() etc. (used during build). - pari.desc needs to be built differently on 2.5.0. - The script gen_members is not used for build on 2.5.0. -- More clear message about �failed patches (if any)� put into .perl.patches. -+ More clear message about “failed patches (if any)” put into .perl.patches. - => 55_linear.t crashes in vecsort([[1,8,5],[2,5,8],[3,6,-6],[4,8,6]],2); Failed 16/82 test programs. 150/1300 subtests failed. - - XXX bibli2.o requires -Og (segfaults with -O) on mingw gcc 4.9.2. (Does not set content of v in vecsort0().) -@@ -1094,7 +1094,7 @@ - subroutine to an inline closure, we need only the explicit loop variables (of the smallest enclosing scope?) - With one (the only present, except matrix()!), the code is (e.g., for sin(x) in void context) - OCpushlex(-1) OCPrecreal OCcallgen2(ep) OCpop(1). -- Only matrix() takes two V�s. A few take VE etc (without �=�) -+ Only matrix() takes two V’s. A few take VE etc (without “=”) - Currently: the loop variables are globals. - - XXX Should not we work around Mac being broken: see end of https://rt.cpan.org/Public/Bug/Display.html?id=127028 ??? -@@ -1109,11 +1109,11 @@ - Better warning on already applied patches (still, we do not parse .perl.patches, just check for its existence). - Test for -g on Makefile.PL command line would not detect "OPTIMIZE=-Og -g". - For initialization of colors, we were using gcopy() instead of gclone()!!! -- Redo the �exceptions� patch for 2.5.5. -+ Redo the “exceptions” patch for 2.5.5. - => Failed 16/90 test programs. 150/1307 subtests failed. - Put license into META fails. - XXX Doing via LICENSE fails. (Bug in MakeMaker??? Due to 2 Makefile.PLs?) -- Add �package� declaration to Math::PariInit (for MetaCPAN to recognize the POD). -+ Add “package” declaration to Math::PariInit (for MetaCPAN to recognize the POD). - Add setprimelimit() and allocatemem() to Math::PariInit docs. - Add extra arguments $quote, $echo, $res to parse_as_gp to return the parsed values/echo/print res. - Parse \q, \p (and allow \e) in parse_as_gp; diff --git a/Math-Pari-2.030510-utf8.patch b/Math-Pari-2.030510-utf8.patch new file mode 100644 index 0000000..0753612 --- /dev/null +++ b/Math-Pari-2.030510-utf8.patch @@ -0,0 +1,77 @@ +--- Changes.WINDOWS-1251 ++++ Changes +@@ -886,7 +886,7 @@ + Store which patches were applied in $dir/.perl.patches. + Report which patches were not applied. + Export patches_for() from BuildPari. +- pari_tgz build option was broken (by LWP-after-NFTP support code � which, apparently, did not help with timeouts). ++ pari_tgz build option was broken (by LWP-after-NFTP support code — which, apparently, did not help with timeouts). + Ignore 0-size "downloaded" files. + + +@@ -1058,10 +1058,10 @@ + Compensate for: In >= 2.5.0 the definition of taille() and taille2() are mixed up. + Down to 5 crashes (from 8). + dumpStack() renamed to __dumpStack(). +- XXXX should not be used at all: it assumes the entry point to �the region on stack� is at its smallest address. ++ XXXX should not be used at all: it assumes the entry point to “the region on stack” is at its smallest address. + New function dumpStack() for dumping our values on stack. + XXXX evalstate_reset() resets avma!!! Need to grab cb_pari_handle_exception(). +- (Need also to find avma for every eval{} level � and for eval ''... ??? What about globally visible SVs???) ++ (Need also to find avma for every eval{} level — and for eval ''... ??? What about globally visible SVs???) + In cb_pari_handle_exception(), do not let evalstate_reset() reset avma! + Down to 3 crashes. + XXX allocatemem() should check whether it is called from inside a PARI function. +@@ -1085,7 +1085,7 @@ + Extra arguments added to build_funclist() etc. (used during build). + pari.desc needs to be built differently on 2.5.0. + The script gen_members is not used for build on 2.5.0. +- More clear message about �failed patches (if any)� put into .perl.patches. ++ More clear message about “failed patches (if any)” put into .perl.patches. + => 55_linear.t crashes in vecsort([[1,8,5],[2,5,8],[3,6,-6],[4,8,6]],2); Failed 16/82 test programs. 150/1300 subtests failed. + + XXX bibli2.o requires -Og (segfaults with -O) on mingw gcc 4.9.2. (Does not set content of v in vecsort0().) +@@ -1094,7 +1094,7 @@ + subroutine to an inline closure, we need only the explicit loop variables (of the smallest enclosing scope?) + With one (the only present, except matrix()!), the code is (e.g., for sin(x) in void context) + OCpushlex(-1) OCPrecreal OCcallgen2(ep) OCpop(1). +- Only matrix() takes two V�s. A few take VE etc (without �=�) ++ Only matrix() takes two V’s. A few take VE etc (without “=”) + Currently: the loop variables are globals. + + XXX Should not we work around Mac being broken: see end of https://rt.cpan.org/Public/Bug/Display.html?id=127028 ??? +@@ -1109,11 +1109,11 @@ + Better warning on already applied patches (still, we do not parse .perl.patches, just check for its existence). + Test for -g on Makefile.PL command line would not detect "OPTIMIZE=-Og -g". + For initialization of colors, we were using gcopy() instead of gclone()!!! +- Redo the �exceptions� patch for 2.5.5. ++ Redo the “exceptions” patch for 2.5.5. + => Failed 16/90 test programs. 150/1307 subtests failed. + Put license into META fails. + XXX Doing via LICENSE fails. (Bug in MakeMaker??? Due to 2 Makefile.PLs?) +- Add �package� declaration to Math::PariInit (for MetaCPAN to recognize the POD). ++ Add “package” declaration to Math::PariInit (for MetaCPAN to recognize the POD). + Add setprimelimit() and allocatemem() to Math::PariInit docs. + Add extra arguments $quote, $echo, $res to parse_as_gp to return the parsed values/echo/print res. + Parse \q, \p (and allow \e) in parse_as_gp; +@@ -1136,7 +1136,7 @@ + Failed 18/163 test programs. 178/1399 subtests failed. (2.7.6) + XXX Tests are run with "$RUNTEST $gp -q --test > $file_test 2>&1"; try "gp -f -q --test -D echo=1 < src/test/in/xxx" + XXX default() is documented as unsupported. +-XXX PARIvar() � how it interacts with lexicals??? ++XXX PARIvar() — how it interacts with lexicals??? + XXX Need to treat parts of tests before \e. + Fix the error in POD. + Autoinstall patches for 2.7.*. +@@ -1148,9 +1148,9 @@ + Switch to using new names gen_0, gen_1, readseq(), gequal(), gpow() (last two should be available in Perl too; XXX: overload???). + Do not use forcecopy() on newer PARI. + Abstract code into my_find_named_var(). +-XXX May need to treat the newer �sections� too. (Member functions, default???) ++XXX May need to treat the newer “sections” too. (Member functions, default???) + XXX Need to handle new sections in Pari.pm. +- Remove some very old �#if 0�s. ++ Remove some very old “#if 0”s. + Support new place for graphing defaults. (Everything compliles; does not link on 2.9.0.) + XXX Many explicit references to PARI dir in Makefiles. + Support new header divll_pre.h (undocumented!). diff --git a/perl-Math-Pari.spec b/perl-Math-Pari.spec index b7e8700..9f2f63a 100644 --- a/perl-Math-Pari.spec +++ b/perl-Math-Pari.spec @@ -3,14 +3,14 @@ Summary: Perl interface to PARI Name: perl-Math-Pari -Version: 2.030509 +Version: 2.030510 Release: 1%{?dist} License: GPL+ or Artistic URL: https://metacpan.org/release/Math-Pari Source0: https://cpan.metacpan.org/modules/by-module/Math/Math-Pari-%{version}%{extraversion}%{?extrasuffix}.zip Patch0: Math-Pari-2.030506-system-pari.patch Patch1: Math-Pari-2.030506-docs-and-testsuite.patch -Patch3: Math-Pari-2.030509-utf8.patch +Patch3: Math-Pari-2.030510-utf8.patch Patch4: Math-Pari-2.030506-escape-left-braces-in-regex.patch Patch5: Math-Pari-2.010809b-MP_NOGNUPLOT.patch Patch6: Math-Pari-2.030509-optflags.patch @@ -112,6 +112,9 @@ make test MP_NOGNUPLOT=1 %exclude %{_mandir}/man3/Math::libPARI.dumb.3* %changelog +* Tue Mar 19 2019 Paul Howarth - 2.030510-1 +- Update to 2.030510 (see Changes for details) + * Sat Mar 2 2019 Paul Howarth - 2.030509-1 - Update to 2.030509 (see Changes for details) diff --git a/sources b/sources index 240730c..9e92ffc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Math-Pari-2.030509.zip) = 4bfb14468df3720cebc615ce9031fbe61ad628f1b1a8bdf7bc30cdd45c22665bb81adc4e6542e19d4c2be58af4bde0e6f347ef6b02c34e2b4ba2333dee4a6729 +SHA512 (Math-Pari-2.030510.zip) = c0c5173f43adaa8183ebad93a717f8f2c5842fd1a13687e8eb50ad7f697dface8112024fcffc1b80b9c05a6b8bdd9e68f8e9824a7576a8aae4392da57549a108