aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-17 18:47:59 +0000
committerlloyd <[email protected]>2012-06-17 18:47:59 +0000
commit61950bd643ca50d25282d5f428023e0f7a81353f (patch)
tree85326d1653c83cb477b7b807f7d76b003152d381 /src/wrap
parent413246d555f9dcc0bac1cefe73bb141f0d8f14f5 (diff)
Patch name changed
Diffstat (limited to 'src/wrap')
-rw-r--r--src/wrap/sqlite/sqlite3-amalgamation.patch15
-rw-r--r--src/wrap/sqlite/sqlite3.diff46
2 files changed, 15 insertions, 46 deletions
diff --git a/src/wrap/sqlite/sqlite3-amalgamation.patch b/src/wrap/sqlite/sqlite3-amalgamation.patch
new file mode 100644
index 000000000..1c2a5c69d
--- /dev/null
+++ b/src/wrap/sqlite/sqlite3-amalgamation.patch
@@ -0,0 +1,15 @@
+--- ./sqlite3.c.orig 2011-05-12 10:03:32.051879390 +0800
++++ ./sqlite3.c 2011-05-12 10:09:04.028550281 +0800
+@@ -17,6 +17,7 @@
+ ** language. The code for the "sqlite3" command-line shell is also in a
+ ** separate file. This file contains only code for the core SQLite library.
+ */
++#define SQLITE_HAS_CODEC 1
+ #define SQLITE_CORE 1
+ #define SQLITE_AMALGAMATION 1
+ #ifndef SQLITE_PRIVATE
+@@ -125956,3 +125957,4 @@
+ #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */
+
+ /************** End of fts3_icu.c ********************************************/
++#include "codecext.c"
diff --git a/src/wrap/sqlite/sqlite3.diff b/src/wrap/sqlite/sqlite3.diff
deleted file mode 100644
index 7ea89f002..000000000
--- a/src/wrap/sqlite/sqlite3.diff
+++ /dev/null
@@ -1,46 +0,0 @@
---- Makefile.in.orig 2010-08-05 00:15:13.000000000 +0800
-+++ Makefile.in 2010-08-16 15:09:58.000000000 +0800
-@@ -65,7 +65,7 @@
- libLTLIBRARIES_INSTALL = $(INSTALL)
- LTLIBRARIES = $(lib_LTLIBRARIES)
- libsqlite3_la_LIBADD =
--am_libsqlite3_la_OBJECTS = sqlite3.lo
-+am_libsqlite3_la_OBJECTS = sqlite3.lo codec.lo
- libsqlite3_la_OBJECTS = $(am_libsqlite3_la_OBJECTS)
- binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
- PROGRAMS = $(bin_PROGRAMS)
-@@ -209,10 +209,10 @@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_EXTENSION_FLAGS@ -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE
-+AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_EXTENSION_FLAGS@ -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -DSQLITE_HAS_CODEC
- lib_LTLIBRARIES = libsqlite3.la
- libsqlite3_la_SOURCES = sqlite3.c
--libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8
-+libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8 -lstdc++ -lbotan
- sqlite3_SOURCES = shell.c sqlite3.h
- sqlite3_LDADD = $(top_builddir)/libsqlite3.la @READLINE_LIBS@
- sqlite3_DEPENDENCIES = $(top_builddir)/libsqlite3.la
-@@ -349,6 +349,13 @@
- @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-+@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
-+
-+codec.lo:
-+@am__fastdepCC_TRUE@ if $(LTCOMPILE) codec.cpp -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
-+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
-
- mostlyclean-libtool:
---- sqlite3.c.orig 2010-08-05 00:14:22.000000000 +0800
-+++ sqlite3.c 2010-08-16 15:35:55.000000000 +0800
-@@ -118684,3 +118684,5 @@
- #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */
-
- /************** End of fts3_icu.c ********************************************/
-+
-+#include "codecext.c"