[BACK]Return to patch-ae CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / libtabe / patches

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/inputmethod/libtabe/patches/patch-ae between version 1.1 and 1.2

version 1.1, 2005/09/28 17:09:43 version 1.2, 2009/11/24 11:15:14
Line 1 
Line 1 
 $NetBSD$  $NetBSD$
   
 --- src/tabe_tsidbint.c.orig    Sun Nov 11 19:15:46 2001  --- src/tabe_tsidbint.c.orig    2004-01-24 20:14:55.000000000 +0000
 +++ src/tabe_tsidbint.c Fri Dec  7 23:13:15 2001  +++ src/tabe_tsidbint.c
 @@ -265,7 +265,11 @@  @@ -272,7 +272,9 @@ tabeTsiDBRecordNumber(struct TsiDB *tsid
    switch(tsidb->type) {     switch(tsidb->type) {
    case DB_TYPE_DB:     case DB_TYPE_DB:
      dbp = (DB *)tsidb->dbp;       dbp = (DB *)tsidb->dbp;
 +#ifdef HAVE_DB3_STAT3  -#if DB_VERSION >= 303011
 +    errno = dbp->stat(dbp, &sp, 0);  +#if DB_VERSION >= 403000
 +#else  +    errno = dbp->stat(dbp, NULL, &sp, 0);
   +#elif DB_VERSION >= 303011
        errno = dbp->stat(dbp, &sp, 0);
    #else
      errno = dbp->stat(dbp, &sp, NULL, 0);       errno = dbp->stat(dbp, &sp, NULL, 0);
 +#endif  
      if (!errno) {  
  #ifndef HAVE_DB3  
        return(sp->bt_nrecs);  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>