From owner-freebsd-ports Mon Jan 19 13:55:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21890 for freebsd-ports-outgoing; Mon, 19 Jan 1998 13:55:54 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21868; Mon, 19 Jan 1998 13:55:37 -0800 (PST) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id AAA21011; Tue, 20 Jan 1998 00:42:48 +0300 (MSK) (envelope-from ache) Date: Tue, 20 Jan 1998 00:42:44 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Dmitrij Tejblum cc: freebsd-ports@FreeBSD.ORG, committers@FreeBSD.ORG, dima@tejblum.dnttm.rssi.ru Subject: Re: amanda port, empty PATCH_STRIP= lines causes trouble In-Reply-To: <199801191817.VAA19292@yandex.hq.cti.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 19 Jan 1998, Dmitrij Tejblum wrote: > > On Mon, 19 Jan 1998, Dmitrij Tejblum wrote: > > > > > Indeed, in old patch context diff header (i.e. "***" and "---" lines) > > > takes precedence over an Index: line. But new patch simple *ignore* > > > Index: line, unless POSIXLY_CORRECT environment variable is set. > > > > The subject discussed is exactly that Index: and ***/--- lines order. > > If old one consider ***/--- first and new one simple ignore Index:, it > > means that _both_ treat CVS generated diffs equally, i.e. don't pay any > > attention on Index: > > Nope. I just posted example of old behavior. Old patch looked at ***/--- > lines, could not find file to patch, and *after it* looked at Index: line, > and could find this file. New patch ignore Index: even after it couldn't find > file in ***/--- lines. This is the difference. We talk about CVS generated diffs for ports system here, old name assumed to exist. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/