summaryrefslogtreecommitdiff
path: root/data/sqlite3
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-06-15 06:24:23 +0000
committerJay Freeman <saurik@saurik.com>2009-06-15 06:24:23 +0000
commita334118154bc7ab0ae0ed078f4b89a61f63cca6b (patch)
tree4d6bee17602c3efbb3c5e737721396c0d69cfa1f /data/sqlite3
parentaa3c53331ee9464d20a6792c6ab4a61780373d2c (diff)
Stage 1 of SVN sqlite3 remap.
git-svn-id: http://svn.telesphoreo.org/trunk@615 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/sqlite3')
-rw-r--r--data/sqlite3/_metadata/depends1
-rw-r--r--data/sqlite3/_metadata/description1
-rw-r--r--data/sqlite3/_metadata/license6
l---------data/sqlite3/_metadata/maintainer1
-rw-r--r--data/sqlite3/_metadata/name1
-rw-r--r--data/sqlite3/_metadata/priority1
l---------data/sqlite3/_metadata/readline.dep1
-rw-r--r--data/sqlite3/_metadata/role1
-rw-r--r--data/sqlite3/_metadata/section1
-rw-r--r--data/sqlite3/_metadata/tags1
-rw-r--r--data/sqlite3/_metadata/version1
-rw-r--r--data/sqlite3/make.sh5
-rw-r--r--data/sqlite3/misuse.diff53
-rw-r--r--data/sqlite3/sqlite-3.5.9.tar.gzbin2201083 -> 0 bytes
-rw-r--r--data/sqlite3/tempdir.diff70
15 files changed, 0 insertions, 144 deletions
diff --git a/data/sqlite3/_metadata/depends b/data/sqlite3/_metadata/depends
deleted file mode 100644
index 331ac1b2c..000000000
--- a/data/sqlite3/_metadata/depends
+++ /dev/null
@@ -1 +0,0 @@
-firmware (<< 3.0)
diff --git a/data/sqlite3/_metadata/description b/data/sqlite3/_metadata/description
deleted file mode 100644
index 8360345f2..000000000
--- a/data/sqlite3/_metadata/description
+++ /dev/null
@@ -1 +0,0 @@
-embeddable database used by iPhone
diff --git a/data/sqlite3/_metadata/license b/data/sqlite3/_metadata/license
deleted file mode 100644
index cc53a32d5..000000000
--- a/data/sqlite3/_metadata/license
+++ /dev/null
@@ -1,6 +0,0 @@
-** The author disclaims copyright to this source code. In place of
-** a legal notice, here is a blessing:
-**
-** May you do good and not evil.
-** May you find forgiveness for yourself and forgive others.
-** May you share freely, never taking more than you give.
diff --git a/data/sqlite3/_metadata/maintainer b/data/sqlite3/_metadata/maintainer
deleted file mode 120000
index 0fa66e077..000000000
--- a/data/sqlite3/_metadata/maintainer
+++ /dev/null
@@ -1 +0,0 @@
-../../../people/saurik \ No newline at end of file
diff --git a/data/sqlite3/_metadata/name b/data/sqlite3/_metadata/name
deleted file mode 100644
index e4244bd29..000000000
--- a/data/sqlite3/_metadata/name
+++ /dev/null
@@ -1 +0,0 @@
-SQLite v3
diff --git a/data/sqlite3/_metadata/priority b/data/sqlite3/_metadata/priority
deleted file mode 100644
index 1c96b78c1..000000000
--- a/data/sqlite3/_metadata/priority
+++ /dev/null
@@ -1 +0,0 @@
-+important
diff --git a/data/sqlite3/_metadata/readline.dep b/data/sqlite3/_metadata/readline.dep
deleted file mode 120000
index f35c9185b..000000000
--- a/data/sqlite3/_metadata/readline.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../readline \ No newline at end of file
diff --git a/data/sqlite3/_metadata/role b/data/sqlite3/_metadata/role
deleted file mode 100644
index 8d0320866..000000000
--- a/data/sqlite3/_metadata/role
+++ /dev/null
@@ -1 +0,0 @@
-developer
diff --git a/data/sqlite3/_metadata/section b/data/sqlite3/_metadata/section
deleted file mode 100644
index 49053f584..000000000
--- a/data/sqlite3/_metadata/section
+++ /dev/null
@@ -1 +0,0 @@
-Data_Storage
diff --git a/data/sqlite3/_metadata/tags b/data/sqlite3/_metadata/tags
deleted file mode 100644
index a8928cec8..000000000
--- a/data/sqlite3/_metadata/tags
+++ /dev/null
@@ -1 +0,0 @@
-purpose::library
diff --git a/data/sqlite3/_metadata/version b/data/sqlite3/_metadata/version
deleted file mode 100644
index 62841113a..000000000
--- a/data/sqlite3/_metadata/version
+++ /dev/null
@@ -1 +0,0 @@
-3.5.9
diff --git a/data/sqlite3/make.sh b/data/sqlite3/make.sh
deleted file mode 100644
index c3179fbb1..000000000
--- a/data/sqlite3/make.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-pkg:setup
-autoconf
-pkg:configure --with-readline-inc=-I"$(PKG_DEST_ readline)"/usr/include/readline --with-readline-lib=-lreadline
-make
-pkg:install
diff --git a/data/sqlite3/misuse.diff b/data/sqlite3/misuse.diff
deleted file mode 100644
index 0e7b79255..000000000
--- a/data/sqlite3/misuse.diff
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -ru sqlite-3.5.9/src/vdbeapi.c sqlite-3.5.9+iPhone/src/vdbeapi.c
---- sqlite-3.5.9/src/vdbeapi.c 2008-05-13 12:52:46.000000000 +0000
-+++ sqlite-3.5.9+iPhone/src/vdbeapi.c 2008-08-01 03:22:00.000000000 +0000
-@@ -1072,6 +1072,9 @@
- int sqlite3_bind_double(sqlite3_stmt *pStmt, int i, double rValue){
- int rc;
- Vdbe *p = (Vdbe *)pStmt;
-+ if( p==0 ){
-+ return SQLITE_MISUSE;
-+ }
- sqlite3_mutex_enter(p->db->mutex);
- rc = vdbeUnbind(p, i);
- if( rc==SQLITE_OK ){
-@@ -1086,6 +1089,9 @@
- int sqlite3_bind_int64(sqlite3_stmt *pStmt, int i, sqlite_int64 iValue){
- int rc;
- Vdbe *p = (Vdbe *)pStmt;
-+ if( p==0 ){
-+ return SQLITE_MISUSE;
-+ }
- sqlite3_mutex_enter(p->db->mutex);
- rc = vdbeUnbind(p, i);
- if( rc==SQLITE_OK ){
-@@ -1097,6 +1103,9 @@
- int sqlite3_bind_null(sqlite3_stmt *pStmt, int i){
- int rc;
- Vdbe *p = (Vdbe*)pStmt;
-+ if( p==0 ){
-+ return SQLITE_MISUSE;
-+ }
- sqlite3_mutex_enter(p->db->mutex);
- rc = vdbeUnbind(p, i);
- sqlite3_mutex_leave(p->db->mutex);
-@@ -1125,6 +1134,9 @@
- int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
- int rc;
- Vdbe *p = (Vdbe *)pStmt;
-+ if( p==0 ){
-+ return SQLITE_MISUSE;
-+ }
- sqlite3_mutex_enter(p->db->mutex);
- rc = vdbeUnbind(p, i);
- if( rc==SQLITE_OK ){
-@@ -1137,6 +1149,9 @@
- int sqlite3_bind_zeroblob(sqlite3_stmt *pStmt, int i, int n){
- int rc;
- Vdbe *p = (Vdbe *)pStmt;
-+ if( p==0 ){
-+ return SQLITE_MISUSE;
-+ }
- sqlite3_mutex_enter(p->db->mutex);
- rc = vdbeUnbind(p, i);
- if( rc==SQLITE_OK ){
diff --git a/data/sqlite3/sqlite-3.5.9.tar.gz b/data/sqlite3/sqlite-3.5.9.tar.gz
deleted file mode 100644
index 92bb8af07..000000000
--- a/data/sqlite3/sqlite-3.5.9.tar.gz
+++ /dev/null
Binary files differ
diff --git a/data/sqlite3/tempdir.diff b/data/sqlite3/tempdir.diff
deleted file mode 100644
index fb862fb1a..000000000
--- a/data/sqlite3/tempdir.diff
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -ru sqlite-3.5.9/Makefile.in sqlite-3.5.9+iPhone/Makefile.in
---- sqlite-3.5.9/Makefile.in 2008-05-12 17:10:26.000000000 +0000
-+++ sqlite-3.5.9+iPhone/Makefile.in 2008-08-01 08:21:45.000000000 +0000
-@@ -413,10 +413,12 @@
-
- libsqlite3.la: $(LIBOBJ)
- $(LTLINK) -o $@ $(LIBOBJ) $(TLIBS) \
-+ -framework CoreFoundation -framework Foundation \
- ${ALLOWRELEASE} -rpath "$(libdir)" -version-info "8:6:8"
-
- libtclsqlite3.la: tclsqlite.lo libsqlite3.la
- $(LTLINK) -o $@ tclsqlite.lo \
-+ -framework CoreFoundation -framework Foundation \
- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TLIBS) \
- -rpath "$(libdir)/sqlite" \
- -version-info "8:6:8"
-diff -ru sqlite-3.5.9/src/os_unix.c sqlite-3.5.9+iPhone/src/os_unix.c
---- sqlite-3.5.9/src/os_unix.c 2008-05-13 12:51:29.000000000 +0000
-+++ sqlite-3.5.9+iPhone/src/os_unix.c 2008-08-01 08:18:14.000000000 +0000
-@@ -75,6 +75,10 @@
- */
- #define MAX_PATHNAME 512
-
-+#ifdef __APPLE__
-+#import <CoreServices/CoreServices.h>
-+#endif
-+
-
- /*
- ** The unixFile structure is subclass of sqlite3_file specific for the unix
-@@ -2497,6 +2501,7 @@
- static int unixGetTempname(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
- static const char *azDirs[] = {
- 0,
-+ 0,
- "/var/tmp",
- "/usr/tmp",
- "/tmp",
-@@ -2509,6 +2514,12 @@
- int i, j;
- struct stat buf;
- const char *zDir = ".";
-+#ifdef __APPLE__
-+ void *pool;
-+ CFStringRef cfstr;
-+ CFIndex maxsize;
-+ char *cstr;
-+#endif
-
- /* It's odd to simulate an io-error here, but really this is just
- ** using the io-error infrastructure to test that SQLite handles this
-@@ -2516,6 +2526,18 @@
- */
- SimulateIOError( return SQLITE_ERROR );
-
-+#ifdef __APPLE__
-+ if (azDirs[1] == NULL) {
-+ pool = NSPushAutoreleasePool(0);
-+ cfstr = (CFStringRef) NSTemporaryDirectory();
-+ maxsize = CFStringGetMaximumSizeForEncoding(CFStringGetLength(cfstr), kCFStringEncodingUTF8) + 1;
-+ cstr = malloc(maxsize);
-+ CFStringGetCString(cfstr, cstr, maxsize, kCFStringEncodingUTF8);
-+ azDirs[1] = cstr;
-+ NSPopAutoreleasePool(pool);
-+ }
-+#endif
-+
- azDirs[0] = sqlite3_temp_directory;
- for(i=0; i<sizeof(azDirs)/sizeof(azDirs[0]); i++){
- if( azDirs[i]==0 ) continue;