Created attachment 212181 [details]
slightly modified do-patch.sh
This makes it easier to update ports with huge patchsets (Chrome has 700+ individual patches):
* 'make patch'
*'find work/* -name \*.rej'
* .orig files are prepopulated and only conflicts in .rej files need to be resolved
* Then 'make makepatch' can be used to update the working set.
More of a pain than git rebase, but it beats one-patch-at-a-time.
This only works in simple cases. For example, if the port has one PATCHFILES or EXTRA_PATCHES, and it fails, it will stop there.
I will try to make it better.
A commit references this bug:
Date: Thu Apr 30 14:48:22 UTC 2020
New revision: 533459
When one patch fails, continue with appling patches.
This makes the process of make patch, fix fallout, make makepatch much
easier as only one iteration is required.
While there, refactor things around, and streamline messages passed
Reported by: cem