diff --git a/debian/patches/perl5.18-re-a-mod.patch b/debian/patches/perl5.18-re-a-mod.patch new file mode 100644 index 0000000..9fd2f50 --- /dev/null +++ b/debian/patches/perl5.18-re-a-mod.patch @@ -0,0 +1,16 @@ +Description: Fix m//and constuct, invalid with perl 5.18 +Author: Damyan Ivanov +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!~/^n/i and print"*** Installing $p\n"and do{ diff --git a/debian/patches/series b/debian/patches/series index 7b6ebd2..d95c7dc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ perl_re.patch spelling.patch +perl5.18-re-a-mod.patch \ No newline at end of file