How do you remove unneeded patch files?

Erwin Lansing erwin at FreeBSD.org
Tue Jul 24 19:58:46 UTC 2007


On Tue, Jul 24, 2007 at 02:41:04PM -0500, Paul Schmehl wrote:
>  I'm working on a port upgrade.  The existing port has a number of patch 
>  files in FILESDIR that are no longer needed.  (The changes they made have 
>  been incorporated into the distro.)  What's the appropriate way to submit 
>  those changes?  Normally, a send-pr submission will contain the patches for 
>  existing port files.  There is no patch for these.  They need to be removed.
> 
>  I could do this:  diff -Naur files/original_patch_file files/empty_file, but 
>  I don't know if that removes the file or simply replaces it with an empty 
>  one.
> 
The result of using that patch would be an empty file.  This is also
alright to submit it that way, but as a courtesy to the committer (and
also to make sure he doesn't forget) it would be good to mention in the
PR that file/xyz and files/abc should be removed completely.

Cheers,
-erwin

-- 
Erwin Lansing                                     http://droso.org
Security is like an onion.          (o_ _o)
It's made up of several layers   \\\_\   /_///    erwin at FreeBSD.org
And it makes you cry.            <____) (____>    erwin at aauug.dk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070724/7cdbf75f/attachment.pgp


More information about the freebsd-ports mailing list