summaryrefslogtreecommitdiff
path: root/databases/p5-BDB
diff options
context:
space:
mode:
authoradam <adam>2011-08-06 15:23:35 +0000
committeradam <adam>2011-08-06 15:23:35 +0000
commitcb00a72f164070d1205f4166f30301f53f9736ec (patch)
tree3b5bd947bce27c306a720f6098c065be05143258 /databases/p5-BDB
parent2e4e60c0747ce9ef7c49e863f9205f1f311d21c4 (diff)
downloadpkgsrc-cb00a72f164070d1205f4166f30301f53f9736ec.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')
-rw-r--r--databases/p5-BDB/Makefile5
-rw-r--r--databases/p5-BDB/distinfo10
-rw-r--r--databases/p5-BDB/patches/patch-aa42
3 files changed, 20 insertions, 37 deletions
diff --git a/databases/p5-BDB/Makefile b/databases/p5-BDB/Makefile
index cb71ebd9f9c..8ce6e9a6e75 100644
--- a/databases/p5-BDB/Makefile
+++ b/databases/p5-BDB/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2010/09/16 08:06:13 adam Exp $
+# $NetBSD: Makefile,v 1.5 2011/08/06 15:23:35 adam Exp $
-DISTNAME= BDB-1.88
+DISTNAME= BDB-1.89
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 3
SVR4_PKGNAME= p5bdb
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/}
diff --git a/databases/p5-BDB/distinfo b/databases/p5-BDB/distinfo
index 9172a50015f..57e77379b6c 100644
--- a/databases/p5-BDB/distinfo
+++ b/databases/p5-BDB/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2010/06/02 13:21:03 adam Exp $
+$NetBSD: distinfo,v 1.3 2011/08/06 15:23:35 adam Exp $
-SHA1 (BDB-1.88.tar.gz) = 75f1701d0e768755a7789e4329ac8f8dc6c6c788
-RMD160 (BDB-1.88.tar.gz) = 0140f02283726f29c69cae66af5b2fe43155a55d
-Size (BDB-1.88.tar.gz) = 35879 bytes
-SHA1 (patch-aa) = 8f86278fa8496dc982d779293da798b5eeb0d990
+SHA1 (BDB-1.89.tar.gz) = 3c217b1f186d603ada91d0621a3b174c0db04351
+RMD160 (BDB-1.89.tar.gz) = 80130462b8f1e058cef9def894abfd877f29887b
+Size (BDB-1.89.tar.gz) = 36333 bytes
+SHA1 (patch-aa) = 65c5934b2eee5550951eb2068ddc3925e4591e70
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)