Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 1996 12:10:01 -0700 (PDT)
From:      Mark Murray <mark@grondar.za>
To:        freebsd-bugs
Subject:   Re: gnu/1787: /usr/bin/patch doesn't like Index: lines 
Message-ID:  <199610141910.MAA18753@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR gnu/1787; it has been noted by GNATS.

From: Mark Murray <mark@grondar.za>
To: roberto@keltia.freenix.fr
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: gnu/1787: /usr/bin/patch doesn't like Index: lines 
Date: Mon, 14 Oct 1996 21:08:49 +0200

 > Get perl5.003_05.tar.gz from CPAN
 > Get perl5.003_06.pat.gz and perl5.003_07.pat.gz from CPAN as well and try
 > to apply them. Configure will note that the files are missing and yell.
 
 Oh, boy. This one is nasty.
 
 Here is what I can find so far:
 
 The problem occurs when a file is being created and there is a
 shortened Index: line. This interacts badly with the -p1 option
 required by the patch. (patch -x128 ... is very useful, btw)
 
 This is how it is:
 
 Index: pod/perli18n.pod
 *** /dev/null
 --- perl003_04/pod/perli18n.pod
 <patch stuff>
 :
 :
 
 The -p1 option cuts off the pod/ on the Index: line. This one has me
 slightly stumped: The man pages suggest that Index: has the priority,
 and my experience with "cvs diff" suggest that this is A Good Thing (tm).
 All I can conclude is that the above patch is "bug-compatible" with the
 old patch, or am I missing something here? Should the -p option _not_
 apply to Index: lines? Suggestions?
 
 M
 --
 Mark Murray
 46 Harvey Rd, Claremont, Cape Town 7700, South Africa
 +27 21 61-3768 GMT+0200
 Finger mark@grondar.za for PGP key



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610141910.MAA18753>