wok-next diff cyrus-imapd/stuff/p1.patch @ rev 5738
Add 'git-gui' package, v0.12.0.66.
Tested on Stable (built & installed) and Cooking (installed after upgrade) successfully.
Tested on Stable (built & installed) and Cooking (installed after upgrade) successfully.
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Sat Jun 26 13:59:56 2010 +0100 (2010-06-26) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cyrus-imapd/stuff/p1.patch Sat Jun 26 13:59:56 2010 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +diff -u lib.old/cyrusdb_berkeley.c lib/cyrusdb_berkeley.c 1.5 +--- lib.old/cyrusdb_berkeley.c 2007-04-05 01:23:42.518845824 +0200 1.6 ++++ lib/cyrusdb_berkeley.c 2007-04-05 01:22:20.000000000 +0200 1.7 +@@ -159,7 +159,15 @@ 1.8 + syslog(LOG_WARNING, 1.9 + "DBERROR: invalid berkeley_locks_max value, using internal default"); 1.10 + } else { 1.11 ++#if DB_VERSION_MAJOR >= 4 1.12 ++ r = dbenv->set_lk_max_locks(dbenv, opt); 1.13 ++ if (!r) 1.14 ++ r = dbenv->set_lk_max_lockers(dbenv, opt); 1.15 ++ if (!r) 1.16 ++ r = dbenv->set_lk_max_objects(dbenv, opt); 1.17 ++#else 1.18 + r = dbenv->set_lk_max(dbenv, opt); 1.19 ++#endif 1.20 + if (r) { 1.21 + dbenv->err(dbenv, r, "set_lk_max"); 1.22 + syslog(LOG_ERR, "DBERROR: set_lk_max(): %s", db_strerror(r));