How to create a patch that removes a file

Spil Oss spil.oss at googlemail.com
Thu Mar 8 14:48:38 UTC 2007


Thanks all,

Should have rtfm-ed a bit more...

Sent patches to maintainer.

Kind regards,

Spil.

On 08/03/07, Kirill Ponomarew <krion at voodoo.bawue.com> wrote:
> On Thu, Mar 08, 2007 at 01:43:41PM +0100, Spil Oss wrote:
> > Hi all,
> >
> > I've succesfully upgraded the port for an application that has an
> > older version in the ports collection.
> > I'd like to submit the patch in a PR, but I don't know (yet :D) how to
> > include the removal of a file from the port (that patch-file is now
> > already included in the distributed sources).
> >
> > Anyone care to give me some guidance?
>
> Quite easy:
>
> cp -Rp port port.orig
> make your changes in port and remove some files/patches there
> diff -ruN port.orig port
>
> Or just use /usr/ports/Tools/scripts/patchtool.py
>
> -Kirill
>


More information about the freebsd-ports mailing list