$NetBSD: patch-af,v 1.5 2005/01/09 00:07:47 schmonz Exp $

--- prayer/mydb_db3.c.orig	2004-06-18 11:25:12.000000000 -0400
+++ prayer/mydb_db3.c
@@ -133,9 +133,11 @@ static int myinit(const char *dbdir, int
     dbenv->set_verbose(dbenv, DB_VERB_DEADLOCK, 1);
     dbenv->set_verbose(dbenv, DB_VERB_WAITSFOR, 1);
   }
+#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 3
   if (CONFIG_DB_VERBOSE > 1) {
     dbenv->set_verbose(dbenv, DB_VERB_CHKPOINT, 1);
   }
+#endif
   dbenv->set_lk_detect(dbenv, CONFIG_DEADLOCK_DETECTION);
 
   r = dbenv->set_lk_max(dbenv, 50000);
