diff -p (Anand Kumria). Closes: #344880
+2006-01-29 Anand Kumria <wildfire@progsoc.org>
+
+ * scripts/dpkg-source.pl (checkdiff): Ignore comments
+ hunk header line as used by diff -p.
+
2006-01-29 Guillem Jover <guillem@debian.org>
* utils/start-stop-daemon.c (do_help): Print the proper version giving
[ Guillem Jover ]
* Make start-stop-daemon print the proper version instead of 'VERSION'.
+
+ [ Frank Lichtenheld ]
+ * Let dpkg-source ignore comments in the hunk header as used by
+ diff -p (Anand Kumria). Closes: #344880
-- Guillem Jover <guillem@debian.org> Sun, 29 Jan 2006 06:02:58 +0200
# read hunk header (@@)
s/\n$// or &error("diff `$diff' is missing trailing newline");
next if /^\\ No newline/;
- /^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@$/ or
+ /^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@ .*$/ or
&error("Expected ^\@\@ in line $. of diff `$diff'");
my ($olines, $nlines) = ($1 ? $2 : 1, $3 ? $4 : 1);
++$hunk;