Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 1998 10:08:57 +0300 (MSK)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        "Scot W. Hetzel" <hetzels@westbend.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Patch Problem
Message-ID:  <Pine.BSF.3.96.980117100551.3837A-100000@lsd.relcom.eu.net>
In-Reply-To: <00e101bd230c$0bcb6260$c3e0d9cf@admin.westbend.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Jan 1998, Scot W. Hetzel wrote:

> I tried it both ways and still had the same problem.
> 
> diff -ruN myport.orig myport > myport.diff
> 
> diff -ruN myport myport.orig > myport.diff
> 
> Both patches tried to patch the Makefile in root of the port.cat directory,
> instead of the Makefile in the myport subdirectory.

Wrong. In your case the command should be

diff -ruN myport myport.new > myport.diff

where myport contains old variant and myport.new updated one.
Then patch < myport.diff will patch myport as you suppose.

-- 
Andrey A. Chernov
<ache@nietzsche.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980117100551.3837A-100000>