Annotation of pkgsrc/inputmethod/libtabe/patches/patch-ae, Revision 1.2
1.2 ! obache 1: $NetBSD: patch-ae,v 1.1 2005/09/28 17:09:43 rillig Exp $
1.1 rillig 2:
1.2 ! obache 3: --- src/tabe_tsidbint.c.orig 2004-01-24 20:14:55.000000000 +0000
! 4: +++ src/tabe_tsidbint.c
! 5: @@ -272,7 +272,9 @@ tabeTsiDBRecordNumber(struct TsiDB *tsid
1.1 rillig 6: switch(tsidb->type) {
7: case DB_TYPE_DB:
8: dbp = (DB *)tsidb->dbp;
1.2 ! obache 9: -#if DB_VERSION >= 303011
! 10: +#if DB_VERSION >= 403000
! 11: + errno = dbp->stat(dbp, NULL, &sp, 0);
! 12: +#elif DB_VERSION >= 303011
! 13: errno = dbp->stat(dbp, &sp, 0);
! 14: #else
1.1 rillig 15: errno = dbp->stat(dbp, &sp, NULL, 0);
CVSweb <webmaster@jp.NetBSD.org>