#! /bin/sh /usr/share/dpatch/dpatch-run ## 500-backport-1.23.22-tar-wildcard.dpatch by Eero Häkkinen ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Pass the --wildcards option to tar, now required by a change in the ## DP: default tar semantics. @DPATCH@ diff -urNad lintian-1.23.8/lib/Util.pm lintian-1.23.22/lib/Util.pm --- lintian-1.23.8/lib/Util.pm 2006-07-18 12:04:27.000000000 +0000 +++ lintian-1.23.22/lib/Util.pm 2006-07-18 12:05:25.000000000 +0000 @@ -139,7 +139,7 @@ my $CONTROL = FileHandle->new; pipeline_open($CONTROL, (sub { exec 'ar', 'p', $file, 'control.tar.gz' }), - (sub { exec 'tar', 'xfzO', '-', '*control' })) + (sub { exec 'tar', '--wildcards', '-xzO', '-f', '-', '*control' })) or fail("cannot fork to unpack $file: $!\n"); my @data = parse_dpkg_control($CONTROL); close($CONTROL) or fail("broken input pipe for unpacking $file: $!");