summaryrefslogtreecommitdiff
path: root/mail/evolution/patches/patch-ag
blob: a9bea5231ee7576f1604902b9b0e74637f15b400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ag,v 1.4 2002/09/05 23:25:27 rh Exp $

--- e-util/e-dbhash.c.orig	Mon Oct 22 23:54:12 2001
+++ e-util/e-dbhash.c
@@ -16,9 +16,9 @@
 #include "md5-utils.h"
 
 #if DB_VERSION_MAJOR != 3 || \
-    DB_VERSION_MINOR != 1 || \
-    DB_VERSION_PATCH != 17
-#error Including wrong DB3.  Need libdb 3.1.17.
+    DB_VERSION_MINOR != 3 || \
+    DB_VERSION_PATCH != 11
+#error Including wrong DB3.  Need libdb 3.3.11.
 #endif
 
 struct _EDbHashPrivate 
@@ -37,9 +37,9 @@
 
 	db_version (&major, &minor, &patch);
 
-	if (major != 3 ||
-	    minor != 1 ||
-	    patch != 17) {
+	if (major != DB_VERSION_MAJOR ||
+	    minor != DB_VERSION_MINOR ||
+	    patch != DB_VERSION_PATCH) {
 		g_warning ("Wrong version of libdb.");
 		return NULL;
 	}