Fix error in dh-make-perl in GetOptions for exclude
[pkg-perl] / deb-src / dh-make-perl / dh-make-perl-0.47maemo1 / debian / patches / fix-dh-make-perl-for-perl583.patch
diff --git a/deb-src/dh-make-perl/dh-make-perl-0.47maemo1/debian/patches/fix-dh-make-perl-for-perl583.patch b/deb-src/dh-make-perl/dh-make-perl-0.47maemo1/debian/patches/fix-dh-make-perl-for-perl583.patch
new file mode 100644 (file)
index 0000000..249af60
--- /dev/null
@@ -0,0 +1,12 @@
+Replaced in GetOptions line replacing exclude|i=s
+--- dh-make-perl-0.47maemo1.orig/dh-make-perl
++++ dh-make-perl-0.47maemo1/dh-make-perl
+@@ -131,7 +131,7 @@
+          'arch=s', 'basepkgs=s', 'bdepends=s', 'bdependsi=s',
+          'build!', 'core-ok', 'cpan=s', 'cpanplus=s', 'closes=i', 
+          'cpan-mirror=s', 'dbflags=s', 'depends=s', 'desc=s',
+-         'exclude|i:s{,}', 'help', 'install!', 'nometa', 'notest',
++         'exclude|i=s', 'help', 'install!', 'nometa', 'notest',
+          'pkg-perl!', 'requiredeps', 'version=s', 'e=s', 'email=s',
+          'p=s', 'packagename=s', 'refresh|R', 'dh=i'
+ ) or die usage_instructions();