- Fix build on FreeBSD 10. Apply manual fix as the configure script is
outside of WRKSRC and the WITH_FBSD10_FIX knob doesn't work in this
case.
Approved by: portmgr (miwi)
Replace port supplied patch with a vendor fix for BDB bug 16415
(DB_ENV->lock_get() may self deadlock if user defined locks are
used and there is only one lock partition defined).
This fix is required for recent OpenLDAP versions if BDB 4.7 is
being used.