DocFraggle Yes but only for debian! Debian creates their own patches.
You can actually see that the Dovecot devs are/were working at this too here:
In the current stable versions of Dovecot there is only one dcrypt-openssl.c file not two like in the main (dev) branch.
Ubuntu also make their own Patches so that is also the reason why it is working with the Ubuntu Repo packages.