Annotation of pkgsrc/inputmethod/libtabe/patches/patch-af, revision 1.2

1.2     ! obache      1: $NetBSD: patch-af,v 1.1 2005/09/28 17:09:43 rillig Exp $
1.1       rillig      2: 
1.2     ! obache      3: --- src/tabe_tsiyindbint.c.orig        2004-01-24 20:14:55.000000000 +0000
        !             4: +++ src/tabe_tsiyindbint.c
        !             5: @@ -275,7 +275,9 @@ tabeTsiYinDBRecordNumber(struct TsiYinDB
1.1       rillig      6:    switch(tsiyindb->type) {
                      7:    case DB_TYPE_DB:
                      8:      dbp = (DB *)tsiyindb->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>