summaryrefslogtreecommitdiff
path: root/sqlite/sqlite.patch.v3
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2008-10-27 16:29:32 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2008-10-27 16:29:32 (GMT)
commit57cee2a44935a7aa851a57b700814a14e6984dce (patch)
tree7351a48a60690fe45131f0f237eb73048549657c /sqlite/sqlite.patch.v3
parent01da63d624df9e4d72a8eb1e233674ec9bbeb14a (diff)
downloadserver-57cee2a44935a7aa851a57b700814a14e6984dce.tar.gz
Rename the sqlite v2 patch, add the sqlite v3 patch.
Diffstat (limited to 'sqlite/sqlite.patch.v3')
-rw-r--r--sqlite/sqlite.patch.v384
1 files changed, 84 insertions, 0 deletions
diff --git a/sqlite/sqlite.patch.v3 b/sqlite/sqlite.patch.v3
new file mode 100644
index 0000000..a33c270
--- /dev/null
+++ b/sqlite/sqlite.patch.v3
@@ -0,0 +1,84 @@
+Index: Makefile.in
+--- Makefile.in.orig 2008-10-14 20:07:37 +0200
++++ Makefile.in 2008-10-15 19:59:08 +0200
+@@ -179,6 +179,30 @@
+ LIBOBJ = $(OBJS$(USE_AMALGAMATION))
+
+
++# FTS1 support
++ifdef FTS1
++TCC += -DSQLITE_ENABLE_FTS1 -I$(TOP)/ext/fts1
++LIBOBJ += fts1.lo fts1_hash.lo fts1_porter.lo fts1_tokenizer1.lo
++endif
++
++# FTS2 support
++ifdef FTS2
++TCC += -DSQLITE_ENABLE_FTS2 -I$(TOP)/ext/fts2
++LIBOBJ += fts2.lo fts2_hash.lo fts2_porter.lo fts2_tokenizer1.lo
++endif
++
++# FTS3 support
++ifdef FTS3
++TCC += -DSQLITE_ENABLE_FTS3 -I$(TOP)/ext/fts3
++LIBOBJ += fts3.lo fts3_hash.lo fts3_porter.lo fts3_icu.lo fts3_tokenizer1.lo fts3_tokenizer.lo
++endif
++
++# RTREE support
++ifdef RTREE
++TCC += -DSQLITE_ENABLE_RTREE -I$(TOP)/ext/rtree
++LIBOBJ += rtree.lo
++endif
++
+ # All of the source code files.
+ #
+ SRC = \
+@@ -786,3 +810,38 @@
+ sqlite3.dll: $(REAL_LIBOBJ) sqlite3.def
+ $(TCC) -shared -o $@ sqlite3.def \
+ -Wl,"--strip-all" $(REAL_LIBOBJ)
++
++fts1.lo: $(TOP)/ext/fts1/fts1.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1.c
++fts1_hash.lo: $(TOP)/ext/fts1/fts1_hash.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_hash.c
++fts1_porter.lo: $(TOP)/ext/fts1/fts1_porter.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_porter.c
++fts1_tokenizer1.lo: $(TOP)/ext/fts1/fts1_tokenizer1.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_tokenizer1.c
++
++fts2.lo: $(TOP)/ext/fts2/fts2.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2.c
++fts2_hash.lo: $(TOP)/ext/fts2/fts2_hash.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_hash.c
++fts2_porter.lo: $(TOP)/ext/fts2/fts2_porter.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_porter.c
++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_icu.lo: $(TOP)/ext/fts3/fts3_icu.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_icu.c
++fts3_porter.lo: $(TOP)/ext/fts3/fts3_porter.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_porter.c
++fts3_tokenizer.lo: $(TOP)/ext/fts3/fts3_tokenizer.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_tokenizer.c
++fts3_tokenizer1.lo: $(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_tokenizer1.c
++
++rtree.lo: $(TOP)/ext/rtree/rtree.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/rtree/rtree.c
++
+Index: sqlite3.pc.in
+--- sqlite3.pc.in.orig 2008-10-14 20:07:39 +0200
++++ sqlite3.pc.in 2008-10-15 19:59:34 +0200
+@@ -8,6 +8,5 @@
+ Name: SQLite
+ Description: SQL database engine
+ Version: @RELEASE@
+-Libs: -L${libdir} -lsqlite3
+-Libs.private: @LIBS@
++Libs: -L${libdir} -lsqlite3 @LIBS@
+ Cflags: -I${includedir}