Created attachment 232029 [details] Patch file Fix build when default version of berkeley db is 18.
Created attachment 232042 [details] poedit 3.0.1 patch I'm updating poedit to 3.0.1 so the patch doesn't seem to apply. I attach the diff, so you can test and tell me if it works with berkeley db 10. Thanks for your report
(In reply to Rodrigo Osorio from comment #1) I tried your patch with poudriere and 13.0-RELEASE amd64 jail and build succeeds with berkeley db 18.x.
Upgrading poedit to 3.0.1 resolves the issue with BDB 18. https://cgit.freebsd.org/ports/commit/?id=644dfb6335b4fe9b2ea27010b4cf2dd6ba22f619