From owner-freebsd-ports@FreeBSD.ORG Mon Jul 4 14:26:44 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9000016A41C; Mon, 4 Jul 2005 14:26:44 +0000 (GMT) (envelope-from FreeBSD@insightbb.com) Received: from sccimhc91.asp.att.net (sccimhc91.asp.att.net [63.240.76.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27DEA43D48; Mon, 4 Jul 2005 14:26:44 +0000 (GMT) (envelope-from FreeBSD@insightbb.com) Received: from lightning (12-202-24-76.client.insightbb.com[12.202.24.76]) by sccimhc91.asp.att.net (sccimhc91) with ESMTP id <20050704142643i9100stcafe>; Mon, 4 Jul 2005 14:26:43 +0000 From: Steven Friedrich To: Michael Nottebrock Date: Mon, 4 Jul 2005 10:26:37 -0400 User-Agent: KMail/1.8.1 References: <200507030412.11449.lofi@freebsd.org> <200507031113.21507.FreeBSD@insightbb.com> <200507032030.03830.lofi@freebsd.org> In-Reply-To: <200507032030.03830.lofi@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507041026.37669.FreeBSD@insightbb.com> Cc: Simon Barner , "freebsd-ports@freebsd.org" Subject: Re: Anybody else have an xscreensaver build break? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 14:26:44 -0000 On Sunday 03 July 2005 02:29 pm, Michael Nottebrock wrote: > On Sunday, 3. July 2005 17:13, Steven Friedrich wrote: > > > 1. Make a copy of the file to edit: cp file.c file.c.orig > > > 2. Make changes to file.c > > > 3. cd ${WRKSRC}, i.e. work/xscreensaver-x.y in your case > > > 4. patch -u path/to/file.c.orig path/to/file.c > patch-path_to_file.c > > > > I'm having trouble with > patch-path_to_file.c > > > > I tried patch -u hacks/glx/antmaze.c.orig hacks/glx/antmaze.c > > > patch-hacks/glx/antmaze.c > > > > and got: > > > > patch-hacks/glx/antmaze.c: No such file or directory. > > > > help? > > Simon's instructions are quirky. :-) Patches are applied with patch and > created with diff. Thus step 4 should be: > > diff -u path/to/file.c.orig path/to/file.c > patch-path_to_file Thanks for the correction... -- i386 FreeBSD 4.11-STABLE There are 10 types of people in this world. Ones that understand binary and then, the others.