summaryrefslogtreecommitdiff
path: root/extra/cyrus-sasl/0027_db5_support.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-16 01:06:25 -0700
committerroot <root@rshg054.dnsready.net>2013-05-16 01:06:25 -0700
commit453f3b8b2c568e9babcdc4852772278a39f130c0 (patch)
tree0f330a052dc9da74351a6167b47f16d91bf59bfa /extra/cyrus-sasl/0027_db5_support.patch
parent51c18483cd98db045391ee9a0c7b9b6ad5d4ab3a (diff)
Thu May 16 01:06:25 PDT 2013
Diffstat (limited to 'extra/cyrus-sasl/0027_db5_support.patch')
-rw-r--r--extra/cyrus-sasl/0027_db5_support.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/extra/cyrus-sasl/0027_db5_support.patch b/extra/cyrus-sasl/0027_db5_support.patch
deleted file mode 100644
index 522824074..000000000
--- a/extra/cyrus-sasl/0027_db5_support.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Author: Ondřej Surý <ondrej@debian.org>
-Description: Support newer Berkeley DB versions
---- a/sasldb/db_berkeley.c
-+++ b/sasldb/db_berkeley.c
-@@ -101,7 +101,7 @@ static int berkeleydb_open(const sasl_ut
- ret = db_create(mbdb, NULL, 0);
- if (ret == 0 && *mbdb != NULL)
- {
--#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
-+#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
- ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660);
- #else
- ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660);
---- a/utils/dbconverter-2.c
-+++ b/utils/dbconverter-2.c
-@@ -214,7 +214,7 @@ static int berkeleydb_open(const char *p
- ret = db_create(mbdb, NULL, 0);
- if (ret == 0 && *mbdb != NULL)
- {
--#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
-+#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
- ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, DB_CREATE, 0664);
- #else
- ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, DB_CREATE, 0664);