Bug 262139

Summary: editors/poedit: Fix build with non-default BDB (eg: 18) versions
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: Rodrigo Osorio <rodrigo>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (rodrigo)
koobs: merge-quarterly?
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 261523    
Attachments:
Description Flags
Patch file
none
poedit 3.0.1 patch none

Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-02-23 06:48:24 UTC
Created attachment 232029 [details]
Patch file

Fix build when default version of berkeley db is 18.
Comment 1 Rodrigo Osorio freebsd_committer freebsd_triage 2022-02-23 14:01:45 UTC
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
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-02-23 18:18:21 UTC
(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.
Comment 3 Rodrigo Osorio freebsd_committer freebsd_triage 2022-02-24 09:22:47 UTC
Upgrading poedit to 3.0.1 resolves the issue with BDB 18.

https://cgit.freebsd.org/ports/commit/?id=644dfb6335b4fe9b2ea27010b4cf2dd6ba22f619