Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2016 08:21:29 +0200
From:      Christoph Brinkhaus <c.brinkhaus@t-online.de>
To:        Jochen Neumeister <joneum@bsdproject.de>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: make makepatch
Message-ID:  <20161027062129.GA2491@esprimo.local>
In-Reply-To: <730bd5a8-d6c2-7e8f-5240-b7d4b6209884@bsdproject.de>
References:  <730bd5a8-d6c2-7e8f-5240-b7d4b6209884@bsdproject.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 27, 2016 at 07:47:06AM +0200, Jochen Neumeister wrote:

Hello Jochen!

> I will update the net/wpa_gui.
> 
> # portlint
> WARN: /usr/home/joneum/dev/ports/net/wpa_gui/files/patch-wpa_ctrl.c:
> patch was not generated using ``make makepatch''.  It is recommended to
> use ``make makepatch'' when you need to [re-]generate a patch to ensure
> proper patch format.
> 0 fatal errors and 1 warning found.

The proper way should be to restore the original file wpa_ctrl.c
as wps.ctrl.orig. Then "make makepatch" has something to compare
and should generate the patch file.
> 
> okay, i use "make makepatch", and copy the files from
> "work/.makepatch-tmp/archived-patches" to the "/files" folder, and start
> portlint. But, the same.

For verification if everything is fine you should clean up
everything by "make clean". The port should be now as
original, but with your additional patch file.
Now portlint should accept the patch.

I hope I mentioned everything.

Kind regards,
Christoph



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161027062129.GA2491>