From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:43:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF47D1065672 for ; Fri, 19 Mar 2010 17:43:18 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7D0A28FC08 for ; Fri, 19 Mar 2010 17:43:18 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so477066qwi.7 for ; Fri, 19 Mar 2010 10:43:17 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.131.39 with SMTP id v39mr503154qcs.66.1269020597502; Fri, 19 Mar 2010 10:43:17 -0700 (PDT) In-Reply-To: <20100319170159.GB71392@slackbox.erewhon.net> References: <20100319170159.GB71392@slackbox.erewhon.net> Date: Fri, 19 Mar 2010 13:43:17 -0400 X-Google-Sender-Auth: fe47663a0d80cf0e Message-ID: From: Alejandro Imass To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 17:43:19 -0000 On Fri, Mar 19, 2010 at 1:01 PM, Roland Smith wrote: > On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: >> Hi, >> >> I need to modify a file from a port before building. Specifically, the [...] > > Add the patch to the files/ directory of the port. The patch should be > relative to the main source directory of the port, e.g. work/foo-x.y for = the > foo port. Use a name for the patch that doesn't exist yet. > > After creating the patch, use chflags to set the uschg and uunlnk flags f= or > your patch. This way, if the port is updated, your patch cannot be > removed. But you might need to update it. > Thanks! Worked like a charm!!! Nevertheless, now there is another bug :-( Cheers! Alejandro Imass > Roland > -- > R.F.Smith =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =A0B7CE 1277 EFB0 C321 A725 (KeyID: C321A72= 5) >