Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2010 00:29:22 +0000
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        apache@freebsd.org
Subject:   Fwd: [PATCH] apr-util: Support db 5.0
Message-ID:  <4BD78162.5080002@p6m7g8.com>

next in thread | raw e-mail | index | archive | help
--------------020607050700030907070805
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit

I'll get to this eventually.

--- apr-util-1.3.9/dbm/apr_dbm_berkeleydb.c.ark	2010-04-14 
17:57:37.846342893 +0200
+++ apr-util-1.3.9/dbm/apr_dbm_berkeleydb.c	2010-04-14 
18:44:28.368839346 +0200
@@ -37,13 +37,13 @@
   * DB_185, DB2, DB3, and DB4.
   */

-#if   defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR == 4)
+#if   defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR >= 4)
  /* We will treat anything greater than 4.1 as DB4.
   * We can treat 4.0 as DB3.
   */
-#if   defined(DB_VERSION_MINOR) && (DB_VERSION_MINOR >= 1)
+#if   DB_VERSION_MAJOR > 4 || (defined(DB_VERSION_MINOR) && 
(DB_VERSION_MINOR >= 1))
  #define DB_VER 4
-#else
+#elif DB_VERSION_MAJOR == 4
  #define DB_VER 3
  #endif
  #elif defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR == 3)


-------- Original Message --------
Subject: [PATCH] apr-util: Support db 5.0
Date: Wed, 14 Apr 2010 19:06:30 +0200
From: Bernhard Rosenkraenzer <br@blankpage.ch>
Organization: BlankPage AG
To: <dev@apr.apache.org>

This patch adds support for Berkeley DB 5.0.x to apr-util.

ttyl
bero

--------------020607050700030907070805--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD78162.5080002>