First a big thank you for maintaining the dovecot port :) I've noticed that the patch in patch-src_master_main.c is probably no longer needed. The code added is already present in dovecot's source code, just above.
A commit references this bug: Author: ler Date: Mon Sep 16 01:24:38 UTC 2019 New revision: 512138 URL: https://svnweb.freebsd.org/changeset/ports/512138 Log: mail/dovecot: remove no longer needed patch file. PR: 240607 Submitted by: paul.le.gauret@gmail.com Changes: head/mail/dovecot/Makefile head/mail/dovecot/files/patch-src_master_main.c
Committed, thanks.
Someone pointed out the patch was actually needed to deal with STDERR whereas the upstream code is for STDOUT. My mistake, we therefore need the patch back.
A commit references this bug: Author: ler Date: Wed Oct 16 16:25:08 UTC 2019 New revision: 514605 URL: https://svnweb.freebsd.org/changeset/ports/514605 Log: mail/dovecot: revert removing patch that is still needed. PR: 240607 Changes: head/mail/dovecot/Makefile head/mail/dovecot/files/patch-src_master_main.c
re-added. Thanks
I was that someone ;), and the cross reference to have it documented here also is this one: ttps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228003.