From owner-freebsd-questions@FreeBSD.ORG Tue Oct 19 18:43:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9649516A4CE for ; Tue, 19 Oct 2004 18:43:30 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92CF143D48 for ; Tue, 19 Oct 2004 18:43:29 +0000 (GMT) (envelope-from itetcu@apropo.ro) Received: (qmail 24932 invoked by uid 89); 19 Oct 2004 18:43:28 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 19 Oct 2004 18:43:28 -0000 Received: (qmail 21729 invoked from network); 19 Oct 2004 18:43:28 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117) by mail.rdsnet.ro with SMTP; 19 Oct 2004 18:43:28 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 767DC60C2; Tue, 19 Oct 2004 21:43:28 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id 2C99D4B4; Tue, 19 Oct 2004 21:43:31 +0300 (EEST) Date: Tue, 19 Oct 2004 21:43:30 +0300 From: Ion-Mihai Tetcu To: krinklyfig@spymac.com Message-ID: <20041019214330.5ea1de30@it.buh.cameradicommercio.ro> In-Reply-To: <200410181506.55316.krinklyfig@spymac.com> References: <200410181506.55316.krinklyfig@spymac.com> X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions Subject: Re: How to remove a patch from a port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 18:43:30 -0000 On Mon, 18 Oct 2004 15:06:55 -0700 Joshua Tinnin wrote: > I'm wondering how to remove a custom patch for a port. I am sort of new > at this, but I've managed to learn how to patch a port and upgrade it > for testing. But I'm not at all sure how to remove that patch if need > be. What I've been doing is removing a chunk of the ports tree with > cd /usr/ports && rm -rf */*portname* and then cvsup'ping again, but > this doesn't seem right or very efficient. I've read the man page for > patch, but the only thing I can come up with is the reverse option, > which I must admit I don't totally understand. Can anyone explain this > in a way that makes sense? If I understand what you want correctly, all you have to do is to rename the patch from: /usr/ports/cat/your_port/files/patch-you_want_not_applied to something that does not begin with 'patch'. -- IOnut Unregistered ;) FreeBSD "user"