add patch

This commit is contained in:
Mario Fetka 2020-03-29 19:00:35 +02:00
parent 391691ba22
commit 34c8f5e5fc
2 changed files with 17 additions and 0 deletions

16
debian/patches/perl5.18-re-a-mod.patch vendored Normal file
View File

@ -0,0 +1,16 @@
Description: Fix m//and constuct, invalid with perl 5.18
Author: Damyan Ivanov <dmn@debian.org>
Origin: vendor
Bug-Debian: http://bugs.debian.org/711617
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -19,7 +19,7 @@
# ExtUtils::AutoInstall Bootstrap Code, version 5.
BEGIN{my$p='ExtUtils::AutoInstall';my$v=0.40;eval"use $p $v;1
"or do{my$e=$ENV{PERL_EXTUTILS_AUTOINSTALL};(!defined($e)||$e
-!~m/--(?:default|skip|testonly)/and-t STDIN or eval"use Ext".
+!~m/--(?:default|skip|testonly)/ and -t STDIN or eval"use Ext".
"Utils::MakeMaker;WriteMakefile('PREREQ_PM'=>{'$p',$v});1"and
exit)and print"==> $p $v required. Install it from CPAN? [Y".
"/n] "and<STDIN>!~/^n/i and print"*** Installing $p\n"and do{

View File

@ -1,2 +1,3 @@
perl_re.patch
spelling.patch
perl5.18-re-a-mod.patch