summaryrefslogtreecommitdiff
path: root/sqlite/sqlite.patch.v2
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.v2
parent01da63d624df9e4d72a8eb1e233674ec9bbeb14a (diff)
downloadserver-57cee2a44935a7aa851a57b700814a14e6984dce.tar.gz
Rename the sqlite v2 patch, add the sqlite v3 patch.
Diffstat (limited to 'sqlite/sqlite.patch.v2')
-rw-r--r--sqlite/sqlite.patch.v227
1 files changed, 27 insertions, 0 deletions
diff --git a/sqlite/sqlite.patch.v2 b/sqlite/sqlite.patch.v2
new file mode 100644
index 0000000..0252835
--- /dev/null
+++ b/sqlite/sqlite.patch.v2
@@ -0,0 +1,27 @@
+Index: sqlite-2.8.17/configure
+--- sqlite-2.8.17/configure.orig 2005-04-24 00:43:23 +0200
++++ sqlite-2.8.17/configure 2006-12-18 09:51:03 +0100
+@@ -20450,7 +20450,10 @@
+ TARGET_HAVE_READLINE=0
+ fi
+
+-
++if [ "$ac_cv_lib_readline_readline" = "no" ]
++then
++ TARGET_HAVE_READLINE=0
++fi
+
+ #########
+ # Figure out whether or not we have a "usleep()" function.
+Index: sqlite-2.8.17/src/encode.c
+--- sqlite-2.8.17/src/encode.c.orig 2005-04-24 00:43:22 +0200
++++ sqlite-2.8.17/src/encode.c 2007-02-23 15:28:03 +0100
+@@ -176,6 +176,8 @@
+ int i, e;
+ unsigned char c;
+ e = *(in++);
++ if (e == 0)
++ return 0;
+ i = 0;
+ while( (c = *(in++))!=0 ){
+ if( c==1 ){