$NetBSD: patch-aa,v 1.2 2011/08/06 15:23:35 adam Exp $ --- BDB.xs.orig 2011-08-06 15:21:38.000000000 +0000 +++ BDB.xs @@ -1313,8 +1313,10 @@ BOOT: const_iv (LOCK_DEADLOCK) const_iv (LOCK_NOTGRANTED) const_iv (NOSERVER) +#if DBVER < 520 const_iv (NOSERVER_HOME) const_iv (NOSERVER_ID) +#endif const_iv (NOTFOUND) const_iv (PAGE_NOTFOUND) const_iv (REP_DUPMASTER)