Summary says it.
Created attachment 87897 [details, diff] files/courier-imap-4.0.1-db4-*.patch diff
The function names of 'db_create_4002' is not correct for db4.3/db4.4 $ readelf -s /usr/lib/libdb-4.3.so |egrep '\<db_create' 302: 0006e611 2058 FUNC GLOBAL DEFAULT 11 db_create@@libdb-4.3.so
It checks: db_create_4002, db_create_4001 and db_create. And db_create is just fine. ;)
Hi folks, I'm unable to build courier-imap-4.0.6 without this patch. My system has USE=berkdb, and has sys-libs/db-4.2.52_p4 and sys-libs/db-4.3.29-r2 installed. Without the patch, it finds db_create_4002 in -ldb-4.2, but fails to link later because bdbobj.c tries to call db_create(), not db_create_4002(). With the patch, it finds db_create in -ldb-4.3 and everything works fine. I'll attach build logs. So I've verified the patch is useful. Please apply. Thanks, Mark
Created attachment 94555 [details] Build failure log Builds without the patch fail.
Created attachment 94556 [details] Build success log Builds with the patch succeed.
fixed in cvs. for future reference, please do NOT patch existing patches - rather update the patch and post the new version here. Also, for the patch, I added checks for db_create_4003 and db_create_4004, because those are applicable in this case.