diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-09-08 11:26:23 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-09-08 11:26:23 +0000 |
commit | b70039a2af189f3bbe25eed04089970fb16856ad (patch) | |
tree | 5aea3246fdb6c535973452156cd07d268019630e /sysutils/fastresolve/files/patch-dns-terror::DatedStringDb.cc | |
parent | apply machibbs patch(*). (diff) |
Update port with following changes:
support for BerkeleyDB 3.x, 4.0.x, 4.1.x, obeys WITH_BDB_VER;
p5-BerkeleyDB in RUN_DEPENDS, perl parts of fastresolve require it to run;
Change maintainership to submitter.
Bump PORTREVISION.
Submitted by: Martin Matuska <martin@tradex.sk>
PR: 56580
Notes
Notes:
svn path=/head/; revision=88797
Diffstat (limited to 'sysutils/fastresolve/files/patch-dns-terror::DatedStringDb.cc')
-rw-r--r-- | sysutils/fastresolve/files/patch-dns-terror::DatedStringDb.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/fastresolve/files/patch-dns-terror::DatedStringDb.cc b/sysutils/fastresolve/files/patch-dns-terror::DatedStringDb.cc new file mode 100644 index 000000000000..9c231327dee5 --- /dev/null +++ b/sysutils/fastresolve/files/patch-dns-terror::DatedStringDb.cc @@ -0,0 +1,14 @@ +--- dns-terror/DatedStringDb.cc.orig Sat Sep 6 18:38:24 2003 ++++ dns-terror/DatedStringDb.cc Sat Sep 6 18:38:31 2003 +@@ -69,7 +69,11 @@ + env->set_cachesize(0, MPOOL_SIZE, 0); + env->open(dbhome, DB_CREATE|DB_INIT_MPOOL|DB_PRIVATE, 0644); + db = new Db(env, 0); ++#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1 || DB_VERSION_MAJOR > 4 ++ db->open(NULL, storename, NULL, DB_BTREE, DB_CREATE, 0644); ++#else + db->open(storename, NULL, DB_BTREE, DB_CREATE, 0644); ++#endif + #elif DB_VERSION_MAJOR == 2 + env = new DbEnv; + env->set_error_stream(&cerr); |