Bug#1026920: New upstream version of file/libmagic breaks autopkgtest
Control: tag -1 + pending
Hi Christoph,
Christoph Biedl wrote:
> So this should do the trick, worked for me:
>
> --- a/lib/Lintian/Index/FileTypes.pm
> +++ b/lib/Lintian/Index/FileTypes.pm
> @@ -72,7 +72,7 @@ sub add_file_types {
> my @files = grep { $_->is_file } @{$self->sorted_list};
> my @names = map { $_->name } @files;
>
> - my @command = qw(file --no-pad --print0 --print0 --);
> + my @command = qw(file --raw --no-pad --print0 --print0 --);
>
> my %file_types;
Thanks!
And it seems that --raw option does not only exist since recently, so
we can take that patch without having fear that backports will break.
:-)
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Reply to: