diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-12-06 12:01:24 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-12-06 12:01:24 +0000 |
commit | af27c52aa3c4aa3c0a3d7c060e766e726cfb9a65 (patch) | |
tree | 982ed6ac33267864136b6fdecc07fdc8a4cac819 /mail/evolution/files | |
parent | Update to 1.4.3. (diff) |
Disable run-time checks for the libdb version. This should fix problems with
addressbook. Bump PORTREVISION.
PR: 32541
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
Notes
Notes:
svn path=/head/; revision=51128
Diffstat (limited to 'mail/evolution/files')
-rw-r--r-- | mail/evolution/files/patch-addressbook::backend::pas::pas-backend-file.c | 27 | ||||
-rw-r--r-- | mail/evolution/files/patch-e-util::e-dbhash.c | 21 |
2 files changed, 48 insertions, 0 deletions
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); + diff --git a/mail/evolution/files/patch-e-util::e-dbhash.c b/mail/evolution/files/patch-e-util::e-dbhash.c new file mode 100644 index 000000000000..438c608362ae --- /dev/null +++ b/mail/evolution/files/patch-e-util::e-dbhash.c @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- e-util/e-dbhash.c 2001/12/06 10:25:50 1.1 ++++ e-util/e-dbhash.c 2001/12/06 10:26:28 +@@ -33,6 +33,7 @@ + DB *db; + int rv; + ++#if 0 + int major, minor, patch; + + db_version (&major, &minor, &patch); +@@ -43,6 +44,7 @@ + g_warning ("Wrong version of libdb."); + return NULL; + } ++#endif + + /* Attempt to open the database */ + rv = db_create (&db, NULL, 0); |