From owner-freebsd-ports@FreeBSD.ORG Tue Jan 8 21:52:29 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D075886A for ; Tue, 8 Jan 2013 21:52:29 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id AAE0CE0D for ; Tue, 8 Jan 2013 21:52:29 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.6/8.14.6) with ESMTP id r08LqMGh024395; Tue, 8 Jan 2013 13:52:22 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.6/8.14.6/Submit) id r08LqMtR024394; Tue, 8 Jan 2013 13:52:22 -0800 (PST) (envelope-from david) Date: Tue, 8 Jan 2013 13:52:22 -0800 From: David Wolfskill To: Paul Schmehl Subject: Re: How to apply an svn diff Message-ID: <20130108215222.GE2001@albert.catwhisker.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JVTRtevMO87SusWP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Ports List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2013 21:52:29 -0000 --JVTRtevMO87SusWP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 08, 2013 at 03:47:30PM -0600, Paul Schmehl wrote: > Once you've created an svn diff and submitted it using send-pr, how is th= e=20 > diff applied to update the port? I can't seem to figure this out from=20 > reading the svn docs. > .... The approach I prefer involves invoking "svn patch". (This is not specific to ports, btw.) g1-227(9.1-S)[1] svn help patch patch: Apply a patch to a working copy. usage: patch PATCHFILE [WCPATH] Apply a unidiff patch in PATCHFILE to the working copy WCPATH. If WCPATH is omitted, '.' is assumed. =2E... Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --JVTRtevMO87SusWP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDslRUACgkQmprOCmdXAD1DTwCfTaKaKoAK1CtZnupoUnrOcKxr /TIAoIPLe4d7gPDuSkQQN1Z0fjcmicH+ =YDWI -----END PGP SIGNATURE----- --JVTRtevMO87SusWP--