How to apply an svn diff

David Wolfskill david at
Tue Jan 8 21:52:29 UTC 2013

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 the 
> diff applied to update the port?  I can't seem to figure this out from 
> 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.

David H. Wolfskill				david at
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list