svn commit: r494945 - in head/comms/wsjtx: . files

Kyle Evans kevans at
Thu Mar 7 14:37:10 UTC 2019

On Thu, Mar 7, 2019 at 7:56 AM Alexey Dokuchaev <danfe at> wrote:
> On Thu, Mar 07, 2019 at 01:45:04PM +0000, Diane Bruce wrote:
> [... snip ...]
> > Added:
> >   head/comms/wsjtx/files/hamlib.patch   (contents, props changed)
> >   head/comms/wsjtx/files/wsjtx.patch   (contents, props changed)
> > ...
> > +post-patch:
> > +     ${CP} ${FILESDIR}/wsjtx.patch ${WRKSRC}
> > +     ${CP} ${FILESDIR}/hamlib.patch ${WRKSRC}
> Can't these be converted to normal patch-* files?

This situation is actually a little annoying- patches of these names
exist in the distfile that are 0-length and applied by the wsjtx build
(at some point? I didn't check the exact timing -- perhaps during
config). Doing it this way serves dual purpose:

1.) It works around a bug in our patch that doesn't like 0-length patches, and
2.) It allows the patch to happen in the build's normal workflow.

#1 being the more important one, to which this is a fairly clean
solution. I've changed the behavior in head to match GNU patch
behavior, but it's not likely worth an EN.


Kyle Evans

More information about the svn-ports-all mailing list