summaryrefslogtreecommitdiff
path: root/mail/prayer/patches/patch-af
diff options
context:
space:
mode:
authorheinz <heinz>2004-02-28 23:50:59 +0000
committerheinz <heinz>2004-02-28 23:50:59 +0000
commitd4e34b524bb77ac4822fcde497ae8b5ef5590bef (patch)
tree91f9a532c97d32000acf13eaae94e7c4eb7febd3 /mail/prayer/patches/patch-af
parent507227d166f88ef4456d9d4f17532d5a8a5099fb (diff)
downloadpkgsrc-d4e34b524bb77ac4822fcde497ae8b5ef5590bef.tar.gz
Compiles and works with db4.
Creates user and group now. "make reinstall" works again. No change of ownership of /usr/pkg/sbin anymore. New RCD script (needs work on non-NetBSD platforms regarding "ps" command options). Bump revision.
Diffstat (limited to 'mail/prayer/patches/patch-af')
-rw-r--r--mail/prayer/patches/patch-af16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/prayer/patches/patch-af b/mail/prayer/patches/patch-af
new file mode 100644
index 00000000000..e3c6a380021
--- /dev/null
+++ b/mail/prayer/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.4 2004/02/28 23:50:59 heinz Exp $
+
+--- prayer/mydb_db3.c.orig Tue Apr 15 15:00:03 2003
++++ prayer/mydb_db3.c
+@@ -80,8 +80,11 @@ extern void fatal(const char *, int);
+ /* --- cut here --- */
+
+ #if DB_VERSION_MAJOR >= 4
++#define txn_begin(xx1,xx2,xx3,xx4) (xx1)->txn_begin(xx1,xx2,xx3,xx4)
+ #define txn_checkpoint(xx1,xx2,xx3,xx4) (xx1)->txn_checkpoint(xx1,xx2,xx3,xx4)
+ #define txn_id(xx1) (xx1)->id(xx1)
++#define txn_abort(xx1) (xx1)->abort(xx1)
++#define txn_commit(xx1,xx2) (xx1)->commit(xx1,xx2)
+ #define log_archive(xx1,xx2,xx3,xx4) (xx1)->log_archive(xx1,xx2,xx3)
+ #elif DB_VERSION_MINOR == 3
+ #define log_archive(xx1,xx2,xx3,xx4) log_archive(xx1,xx2,xx3)