Subject: Re: converters/latex2rtf patch-aa file has weird headers installed
To: Roland Illig <rillig@NetBSD.org>
From: Jeremy C. Reed <reed@NetBSD.org>
List: tech-pkg
Date: 11/09/2005 13:19:47
On Wed, 9 Nov 2005, Roland Illig wrote:

>> --- Makefile.orig       2004-11-07 18:59:18.000000000 -0800
>> +++ Makefile    2005-11-03 15:42:07.000000000 -0800
>> @@ -1,6 +1,6 @@
>>  # $Id: patch-aa,v 1.3 2005/11/09 07:17:04 reed Exp $
>> 
>> 
>> What can I do to stop that $Id$ tag in the patch?
>
> Start using pkglint(1) before committing changes to a package. :)
>
> $ pkglint
> ERROR: distinfo:6: SHA1 checksum of patch-aa differs (expected
>    47e490a62a65473bd554d31660fc28e502187f98, got
>    5f7a95c4359d2bee851ec2c5fd8d696c3691d7df).
>    Rerun '/usr/bin/make makepatchsum'.
> WARN: patches/patch-aa:6: Possible RCS tag "$Id$".
>    Please remove it by reducing the number of context lines
>    using pkgdiff or "diff -U[210]".
> 1 errors and 1 warnings found.
>
> Does that help?

Thanks for the reminder.

In this case, the diff -U0 or -U1 doesn't work for me. The problem is on 
the first line and the patching starts on the third line.

     Jeremy C. Reed
                         ``Of course it runs NetBSD.''
                             http://www.NetBSD.org/