diff options
author | reinoud <reinoud@pkgsrc.org> | 2001-11-19 00:41:06 +0000 |
---|---|---|
committer | reinoud <reinoud@pkgsrc.org> | 2001-11-19 00:41:06 +0000 |
commit | df59114aa41532a01d6b90637ed131a74724d38a (patch) | |
tree | 90a60cad4dbee9834118c97829164c439f8977d9 /databases | |
parent | 93d3e932744f35f3b3ce8ba66c28cf54ea6190a7 (diff) | |
download | pkgsrc-df59114aa41532a01d6b90637ed131a74724d38a.tar.gz |
Update SQLite package to version 2.1.0 from 2.0.5
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqlite/Makefile | 4 | ||||
-rw-r--r-- | databases/sqlite/distinfo | 9 | ||||
-rw-r--r-- | databases/sqlite/patches/patch-ab | 16 | ||||
-rw-r--r-- | databases/sqlite/patches/patch-ag | 49 |
4 files changed, 14 insertions, 64 deletions
diff --git a/databases/sqlite/Makefile b/databases/sqlite/Makefile index f16593c1d0d..72b0bccf8e6 100644 --- a/databases/sqlite/Makefile +++ b/databases/sqlite/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 16:20:08 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2001/11/19 00:41:06 reinoud Exp $ -DISTNAME= sqlite-2.0.5 +DISTNAME= sqlite-2.1.0 CATEGORIES= databases MASTER_SITES= http://www.hwaci.com/sw/sqlite/ diff --git a/databases/sqlite/distinfo b/databases/sqlite/distinfo index 1aecdc81c28..f401af52bf3 100644 --- a/databases/sqlite/distinfo +++ b/databases/sqlite/distinfo @@ -1,11 +1,10 @@ -$NetBSD: distinfo,v 1.2 2001/10/20 18:51:37 reinoud Exp $ +$NetBSD: distinfo,v 1.3 2001/11/19 00:41:06 reinoud Exp $ -SHA1 (sqlite-2.0.5.tar.gz) = 9a1902380e3c06076561b343b7e1848c5f3642c7 -Size (sqlite-2.0.5.tar.gz) = 588792 bytes +SHA1 (sqlite-2.1.0.tar.gz) = 8e163ad37a14e3ae25224874e998c07cd1a31a73 +Size (sqlite-2.1.0.tar.gz) = 595911 bytes SHA1 (patch-aa) = 05d0408a9c3f6a371b4b9cf5464aa5a7b436023b -SHA1 (patch-ab) = f79431f43563f124486cbc8807059dae891b5ac1 +SHA1 (patch-ab) = 830fac5d2ed46cd06c75783bf56e0b89d7d82863 SHA1 (patch-ac) = a242f378220a004317b697c8c5e20b1d7c40bd77 SHA1 (patch-ad) = 0e694856fb4c4888de98f1a2fe07c49533ae1c29 SHA1 (patch-ae) = 4ea17c257833c6efdc14fdfb0c6ef4a5a4cd943f SHA1 (patch-af) = 6519be2937c19512f1974bddb1aad75493224bfc -SHA1 (patch-ag) = f8b2c9ecd66a6c5fa62f3387f3c6ae95290f1028 diff --git a/databases/sqlite/patches/patch-ab b/databases/sqlite/patches/patch-ab index efaec98b1a7..1ed2714d1e8 100644 --- a/databases/sqlite/patches/patch-ab +++ b/databases/sqlite/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.1 2001/10/20 18:52:38 reinoud Exp $ +$NetBSD: patch-ab,v 1.2 2001/11/19 00:41:06 reinoud Exp $ ---- ../sqlite/src/btree.c.orig Mon Oct 15 02:44:35 2001 +--- ../sqlite/src/btree.c.orig Sat Nov 10 14:51:08 2001 +++ ../sqlite/src/btree.c @@ -60,7 +60,7 @@ ** The uptr type must be big enough to hold a pointer. @@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.1 2001/10/20 18:52:38 reinoud Exp $ /* There are already defined in sqliteInt.h... ** typedef unsigned int u32; -@@ -818,7 +818,7 @@ +@@ -829,7 +829,7 @@ int sqliteBtreeCursor(Btree *pBt, int iTable, int wrFlag, BtCursor **ppCur){ int rc; BtCursor *pCur; @@ -20,7 +20,7 @@ $NetBSD: patch-ab,v 1.1 2001/10/20 18:52:38 reinoud Exp $ if( pBt->page1==0 ){ rc = lockBtree(pBt); -@@ -841,7 +841,7 @@ +@@ -852,7 +852,7 @@ if( rc!=SQLITE_OK ){ goto create_cursor_exception; } @@ -29,7 +29,7 @@ $NetBSD: patch-ab,v 1.1 2001/10/20 18:52:38 reinoud Exp $ if( nLock<0 || (nLock>0 && wrFlag) ){ rc = SQLITE_LOCKED; goto create_cursor_exception; -@@ -875,7 +875,7 @@ +@@ -886,7 +886,7 @@ ** when the last cursor is closed. */ int sqliteBtreeCloseCursor(BtCursor *pCur){ @@ -38,16 +38,16 @@ $NetBSD: patch-ab,v 1.1 2001/10/20 18:52:38 reinoud Exp $ Btree *pBt = pCur->pBt; if( pCur->pPrev ){ pCur->pPrev->pNext = pCur->pNext; -@@ -889,7 +889,7 @@ +@@ -900,7 +900,7 @@ sqlitepager_unref(pCur->pPage); } unlockBtreeIfUnused(pBt); - nLock = (int)sqliteHashFind(&pBt->locks, 0, pCur->pgnoRoot); + nLock = (long long int)sqliteHashFind(&pBt->locks, 0, pCur->pgnoRoot); - assert( nLock!=0 ); + assert( nLock!=0 || sqlite_malloc_failed ); nLock = nLock<0 ? 0 : nLock-1; sqliteHashInsert(&pBt->locks, 0, pCur->pgnoRoot, (void*)nLock); -@@ -2311,11 +2311,11 @@ +@@ -2293,11 +2293,11 @@ */ int sqliteBtreeClearTable(Btree *pBt, int iTable){ int rc; diff --git a/databases/sqlite/patches/patch-ag b/databases/sqlite/patches/patch-ag deleted file mode 100644 index 9f26c8861b2..00000000000 --- a/databases/sqlite/patches/patch-ag +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-ag,v 1.1 2001/10/20 18:52:38 reinoud Exp $ - ---- ../sqlite/tool/lemon.c.orig Sun Sep 16 01:07:32 2001 -+++ ../sqlite/tool/lemon.c -@@ -1305,7 +1305,7 @@ - /* - ** Return a pointer to the next structure in the linked list. - */ --#define NEXT(A) (*(char**)(((int)A)+offset)) -+#define NEXT(A) (*(char**)(((char *)A)+offset)) - - /* - ** Inputs: -@@ -1383,7 +1383,7 @@ - char *ep; - char *set[LISTSIZE]; - int i; -- offset = (int)next - (int)list; -+ offset = (char *)next - (char *)list; - for(i=0; i<LISTSIZE; i++) set[i] = 0; - while( list ){ - ep = list; -@@ -1531,7 +1531,7 @@ - if( *end ){ - if( err ){ - fprintf(err,"%sillegal character in floating-point argument.\n",emsg); -- errline(i,((int)end)-(int)argv[i],err); -+ errline(i, (int) (end-argv[i]),err); - } - errcnt++; - } -@@ -1542,7 +1542,7 @@ - if( *end ){ - if( err ){ - fprintf(err,"%sillegal character in integer argument.\n",emsg); -- errline(i,((int)end)-(int)argv[i],err); -+ errline(i, (int) (end-argv[i]),err); - } - errcnt++; - } -@@ -2625,7 +2625,7 @@ - - cp = strrchr(lemp->filename,'.'); - if( cp ){ -- sprintf(buf,"%.*s.lt",(int)cp-(int)lemp->filename,lemp->filename); -+ sprintf(buf,"%.*s.lt",cp-lemp->filename,lemp->filename); - }else{ - sprintf(buf,"%s.lt",lemp->filename); - } |