diff options
Diffstat (limited to 'inputmethod/libtabe/patches/patch-af')
-rw-r--r-- | inputmethod/libtabe/patches/patch-af | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/inputmethod/libtabe/patches/patch-af b/inputmethod/libtabe/patches/patch-af new file mode 100644 index 00000000000..d5f151994dd --- /dev/null +++ b/inputmethod/libtabe/patches/patch-af @@ -0,0 +1,16 @@ +$NetBSD: patch-af,v 1.1 2005/09/28 17:09:43 rillig Exp $ + +--- src/tabe_tsiyindbint.c.orig Sun Nov 11 19:16:32 2001 ++++ src/tabe_tsiyindbint.c Fri Dec 7 23:15:21 2001 +@@ -268,7 +268,11 @@ + switch(tsiyindb->type) { + case DB_TYPE_DB: + dbp = (DB *)tsiyindb->dbp; ++#ifdef HAVE_DB3_STAT3 ++ errno = dbp->stat(dbp, &sp, 0); ++#else + errno = dbp->stat(dbp, &sp, NULL, 0); ++#endif + if (!errno) { + #ifndef HAVE_DB3 + return(sp->bt_nrecs); |