49cb564d14
* par is kept at -Np0 ```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 ```
18 lines
414 B
Diff
18 lines
414 B
Diff
--- a/Makefile.PL
|
|
+++ b/Makefile.PL
|
|
@@ -15,14 +15,8 @@ include 'ExtUtils::AutoInstall';
|
|
|
|
perl_version '5.006';
|
|
build_requires 'Test::More' => 0.47;
|
|
-eval { assertlibs lib => 'gmp', header => 'gmp.h'; };
|
|
-unless ($@) {
|
|
- requires 'Math::BigInt::GMP' => 1.24;
|
|
-}
|
|
-else {
|
|
- requires 'Math::BigInt::Pari' => 1.13;
|
|
-}
|
|
|
|
+requires('Math::BigInt::GMP' => '1.24');
|
|
requires('Math::BigInt' => '1.60');
|
|
|
|
githubmeta;
|