packages: cyrus-sasl/cyrus-sasl-db.patch - more

qboosh qboosh at pld-linux.org
Tue May 18 21:13:51 CEST 2010


Author: qboosh                       Date: Tue May 18 19:13:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- more

---- Files affected:
packages/cyrus-sasl:
   cyrus-sasl-db.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/cyrus-sasl/cyrus-sasl-db.patch
diff -u packages/cyrus-sasl/cyrus-sasl-db.patch:1.6 packages/cyrus-sasl/cyrus-sasl-db.patch:1.7
--- packages/cyrus-sasl/cyrus-sasl-db.patch:1.6	Tue May 18 21:05:26 2010
+++ packages/cyrus-sasl/cyrus-sasl-db.patch	Tue May 18 21:13:46 2010
@@ -21,3 +21,14 @@
  	ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660);
  #else
  	ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660);
+--- cyrus-sasl-2.1.23/utils/dbconverter-2.c.orig	2003-02-13 20:56:17.000000000 +0100
++++ cyrus-sasl-2.1.23/utils/dbconverter-2.c	2010-05-18 21:11:09.982932556 +0200
+@@ -214,7 +214,7 @@
+     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);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cyrus-sasl/cyrus-sasl-db.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list