2
# This is a helper to inspect gcc-x.y package's patches,
3
# looking for those applicable to gcc-x.y-doc.
6
# $ cd gcc-x.y/debian/patches
7
# $ perl $PATH_TO_ME/check_gcc_patches *.diff
16
| (xgnatugn.adb|ug_words)$
20
for my $patch (@ARGV) {
21
print "Parsing $patch\n";
22
open my $fh, "-|", qw(diffstat -l), $patch;
33
print "# Interesting patches:\n";
34
for my $patch (sort keys %inspect) {
35
print "# grepping for $patch in rules.patch\n";
38
system "grep", "-n", "-B", "5", "$base", "../rules.patch";
42
print "# you can add notes with this template\n";
43
for my $patch (sort keys %inspect) {