Package: lintian
Version: 1.23.41
Tags: patch
False positives of 'dpatch-index-references-non-existant-patch' are emitted
if multiple patches are specified on the same line in 00list (valid in
dpatch).
For example:
<<EOF
01-first-patch.dpatch 02-second-patch.dpatch
03-third-patch.dpatch
EOF
Patch attached.
Regards,
--
Chris Lamb, UK chris@chris-lamb.co.uk
GPG: 0x634F9A20
--- patch-systems.orig 2007-12-23 05:28:05.000000000 +0000
+++ patch-systems 2007-12-23 05:29:06.000000000 +0000
@@ -60,12 +60,15 @@
chomp;
next if (/^\#/); #ignore comments
next if (/^\s*$/); #ignore blank lines
- push @patches, $_;
+ push @patches, split(/\s+/);
+ }
+ close(IN);
+
+ for (@patches) {
if (! -r "debfiles/patches/$_" && ! -r "debfiles/patches/$_.dpatch") {
tag "dpatch-index-references-non-existant-patch", $_;
}
}
- close(IN);
#check that we have comments everywhere
foreach my $patch_file (@patches) {
Attachment:
signature.asc
Description: PGP signature