diff options
author | adam <adam@pkgsrc.org> | 2011-08-06 15:23:35 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-08-06 15:23:35 +0000 |
commit | 6af5372b2d8c2d5800114d41cc6afc5de175dec0 (patch) | |
tree | 3b5bd947bce27c306a720f6098c065be05143258 /databases/p5-BDB/patches | |
parent | 121228b182bb1a96d15b40489861e07a4ee3e99b (diff) | |
download | pkgsrc-6af5372b2d8c2d5800114d41cc6afc5de175dec0.tar.gz |
Changes 1.89:
* make it compile and test successfully with libdb 5.1, but
do not add any new symbols or functionality.
Diffstat (limited to 'databases/p5-BDB/patches')
-rw-r--r-- | databases/p5-BDB/patches/patch-aa | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/databases/p5-BDB/patches/patch-aa b/databases/p5-BDB/patches/patch-aa index 747bf4c0237..38b884a931e 100644 --- a/databases/p5-BDB/patches/patch-aa +++ b/databases/p5-BDB/patches/patch-aa @@ -1,31 +1,15 @@ -$NetBSD: patch-aa,v 1.1 2010/06/02 13:21:03 adam Exp $ +$NetBSD: patch-aa,v 1.2 2011/08/06 15:23:35 adam Exp $ ---- BDB.xs.orig 2010-06-01 07:59:05.000000000 +0000 +--- BDB.xs.orig 2011-08-06 15:21:38.000000000 +0000 +++ BDB.xs -@@ -33,7 +33,7 @@ - - #include <db.h> - --#if DB_VERSION_MAJOR != 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 3) -+#if DB_VERSION_MAJOR < 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 3) - # error you need Berkeley DB 4.3 or a newer 4.x version installed - #endif - -@@ -1228,7 +1228,7 @@ BOOT: - const_iv (WRITECURSOR) - const_iv (YIELDCPU) - const_iv (ENCRYPT_AES) --#if DB_VERSION_MINOR < 8 -+#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 8) - const_iv (XA_CREATE) - #endif - const_iv (BTREE) -@@ -1382,7 +1382,7 @@ BOOT: - const_iv (PRIORITY_VERY_HIGH) - const_iv (IGNORE_LEASE) - #endif --#if DB_VERSION_MINOR >= 7 -+#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 7) - //const_iv (MULTIPLE_KEY) - const_iv (LOG_DIRECT) - const_iv (LOG_DSYNC) +@@ -1313,8 +1313,10 @@ BOOT: + const_iv (LOCK_DEADLOCK) + const_iv (LOCK_NOTGRANTED) + const_iv (NOSERVER) ++#if DBVER < 520 + const_iv (NOSERVER_HOME) + const_iv (NOSERVER_ID) ++#endif + const_iv (NOTFOUND) + const_iv (PAGE_NOTFOUND) + const_iv (REP_DUPMASTER) |