From af27c52aa3c4aa3c0a3d7c060e766e726cfb9a65 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 6 Dec 2001 12:01:24 +0000 Subject: Disable run-time checks for the libdb version. This should fix problems with addressbook. Bump PORTREVISION. PR: 32541 Submitted by: Joe Marcus Clarke --- ...h-addressbook::backend::pas::pas-backend-file.c | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mail/evolution/files/patch-addressbook::backend::pas::pas-backend-file.c (limited to 'mail/evolution/files/patch-addressbook::backend::pas::pas-backend-file.c') diff --git a/mail/evolution/files/patch-addressbook::backend::pas::pas-backend-file.c b/mail/evolution/files/patch-addressbook::backend::pas::pas-backend-file.c new file mode 100644 index 000000000000..4ae8e0055e3d --- /dev/null +++ b/mail/evolution/files/patch-addressbook::backend::pas::pas-backend-file.c @@ -0,0 +1,27 @@ + +$FreeBSD$ + +--- addressbook/backend/pas/pas-backend-file.c 2001/12/06 10:25:50 1.1 ++++ addressbook/backend/pas/pas-backend-file.c 2001/12/06 10:27:02 +@@ -1238,10 +1238,13 @@ + gboolean writable = FALSE; + int db_error; + DB *db; ++#if 0 + int major, minor, patch; ++#endif + + g_assert (bf->priv->loaded == FALSE); + ++#if 0 + db_version (&major, &minor, &patch); + + if (major != 3 || +@@ -1250,6 +1253,7 @@ + g_warning ("Wrong version of libdb."); + return FALSE; + } ++#endif + + filename = pas_backend_file_extract_path_from_uri (uri); + -- cgit v1.2.3