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

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / libtabe / patches / patch-ad (download)

Revision 1.2, Tue Nov 24 11:15:14 2009 UTC (12 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, HEAD
Changes since 1.1: +13 -21 lines

Update libtabe to 1.2.6.
While here, add DESTDIR support and relax bdb dependency from db3 to db2-4.

0.2.6: 2004/09/20
1. Remove the "-release" flag from libtool, such that the naming convention
   of libtabe/libbims is changed to be: libtabe.so.X.X.X/libbims.so.X.X.X.
   Add release number information into utilities.
   Thanks to Roger So <roger.so@sw-linux.com>.

2. Porting to DB3-3.3.11: DB->stat() only takes 3 arguements.
   Thanks to Pofeng Lee <informer@ns1.m2000.idv.tw>
	     Rui-Xiang Guo <rxg@ms25.url.com.tw>

3. Change the "rm $(PACKDB)" from "make clean" to "make distclean".
   Thanks to Kuang-che Wu <kcwu@ck.tp.edu.tw>.

4. Fix several memory leakage problem.
   Thanks to Kuang-che Wu <kcwu@ck.tp.edu.tw>.

5. Add util/tsiguess.c.
   Add API: tabeChunkInfoFree(), tabeChunkInfoNew(), tabeTsiInfoNew(),
   Thanks to Pofeng Lee <informer@ns1.m2000.idv.tw>.

6. Add bims facility: user add Tsi by hand and store to user DB files.
   Thanks to Eric Cheng <eric@fractal.myip.org>.

7. Add bims facility: simple algorithm to learn new phrase input by user.
   Thanks to Pofeng Lee <informer@ns1.m2000.idv.tw>.

8. A quick fix for segfault when there is no ~/.xcin/*.db
   Fixed by Geoffrey Lee <snailtalk@linux-mandrake.com>

9. Fixed the bug of signed/unsigned TsiInfo->refcount ( µüW 0 bug )
   Found by FixeShao-yu Cheng <eric@netgenes.org>
   Fixed by Kuang-che Wu <kcwu@ck.tp.edu.tw>

10. By <thhsieh@linux.org.tw>
    Fix a bug in libtabe/util/tsiguess: Do not always try to open
    $HOME/.xcin/newdb. But one can use the flag "-u" to specify the
    path of user defined DB file.

11. Fix bug in tabe_tsi.c: tabeChunkSegmentationComplex():
    the same floating point number precision problem found in bims.c.
    Speed up and clean up tsiguess.c and tabe_tsi.c
    By Kuang-che Wu <kcwu@ck.tp.edu.tw>

    tsidump, tsiguess, tsiyincheck, tsiyindump utilities when necessary.
    By Kuang-che Wu <kcwu@ck.tp.edu.tw>

13. Support Berkeley DB 4.
    Thansks to Cheng-Lung Sung <clsung@dragon2.net>.

14. Builds without libbims if configure --without-x
    Builds with specific BerkeleyDB lib name if configure --with-db-name
    tsipackdb.in try all db*_dump, don't check db version anymore

15. Add bimsToggleTsiGuess() and bimsToggleNoTsiGuess() functions.
    Update autotools files.

$NetBSD: patch-ad,v 1.2 2009/11/24 11:15:14 obache Exp $

--- script/configure.in.orig	2004-09-20 06:16:48.000000000 +0000
+++ script/configure.in
@@ -203,7 +203,9 @@ errno = db_open("foo.db", DB_BTREE, DB_C
 if(errno) return errno;
-#if DB_VERSION >= 303011
+#if DB_VERSION >= 403000
+errno = dbp->stat(dbp, NULL, &sp, 0);
+#elif DB_VERSION >= 303011
 errno = dbp->stat(dbp, &sp, 0); 
 errno = dbp->stat(dbp, &sp, NULL, 0);