OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   04-Oct-2007 08:07:54
  Branch: HEAD                             Handle: 2007100407075400

  Modified files:
    openpkg-src/sqlite      sqlite.patch sqlite.spec

  Log:
    add support for new full-text-search v3

  Summary:
    Revision    Changes     Path
    1.42        +19 -5      openpkg-src/sqlite/sqlite.patch
    1.160       +1  -0      openpkg-src/sqlite/sqlite.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/sqlite/sqlite.patch
  ============================================================================
  $ cvs diff -u -r1.41 -r1.42 sqlite.patch
  --- openpkg-src/sqlite/sqlite.patch   4 Sep 2007 07:31:49 -0000       1.41
  +++ openpkg-src/sqlite/sqlite.patch   4 Oct 2007 06:07:54 -0000       1.42
  @@ -1,7 +1,7 @@
   Index: Makefile.in
  ---- Makefile.in.orig 2007-06-28 14:46:18 +0200
  -+++ Makefile.in      2007-08-14 21:01:55 +0200
  -@@ -130,6 +130,18 @@
  +--- Makefile.in.orig 2007-09-04 00:11:33 +0200
  ++++ Makefile.in      2007-10-04 08:06:28 +0200
  +@@ -132,6 +132,24 @@
             vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbefifo.lo vdbemem.lo \
             where.lo utf.lo legacy.lo vtab.lo
    
  @@ -17,10 +17,16 @@
   +LIBOBJ += fts2.lo fts2_hash.lo fts2_porter.lo fts2_tokenizer1.lo
   +endif
   +
  ++# FTS3 support
  ++ifdef FTS3
  ++TCC    += -DSQLITE_ENABLE_FTS3
  ++LIBOBJ += fts3.lo fts3_hash.lo fts3_porter.lo fts3_tokenizer1.lo
  ++endif
  ++
    # All of the source code files.
    #
    SRC = \
  -@@ -492,6 +504,25 @@
  +@@ -537,6 +555,33 @@
        $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
                 libsqlite3.la $(LIBTCL)
    
  @@ -42,13 +48,21 @@
   +fts2_tokenizer1.lo: $(TOP)/ext/fts2/fts2_tokenizer1.c $(HDR)
   +    $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_tokenizer1.c
   +
  ++fts3.lo:    $(TOP)/ext/fts3/fts3.c $(HDR)
  ++    $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3.c
  ++fts3_hash.lo:       $(TOP)/ext/fts3/fts3_hash.c $(HDR)
  ++    $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_hash.c
  ++fts3_porter.lo:     $(TOP)/ext/fts3/fts3_porter.c $(HDR)
  ++    $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_porter.c
  ++fts3_tokenizer1.lo: $(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR)
  ++    $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_tokenizer1.c
   +
    testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
        $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \
                    -DSQLITE_NO_SYNC=1 $(TEMP_STORE) \
   Index: sqlite3.pc.in
   --- sqlite3.pc.in.orig       2004-07-19 06:25:47 +0200
  -+++ sqlite3.pc.in    2007-08-14 21:04:47 +0200
  ++++ sqlite3.pc.in    2007-10-04 08:04:24 +0200
   @@ -8,5 +8,5 @@
    Name: SQLite
    Description: SQL database engine
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sqlite/sqlite.spec
  ============================================================================
  $ cvs diff -u -r1.159 -r1.160 sqlite.spec
  --- openpkg-src/sqlite/sqlite.spec    4 Oct 2007 06:01:45 -0000       1.159
  +++ openpkg-src/sqlite/sqlite.spec    4 Oct 2007 06:07:54 -0000       1.160
  @@ -46,6 +46,7 @@
   %option       with_threads         no
   %option       with_fts1            no
   %option       with_fts2            no
  +%option       with_fts3            no
   %option       with_odbc            no
   %option       with_jdbc            no
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to