diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-08 03:36:18 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-08 03:36:18 +0000 |
commit | e3d67b3b2c7235fa6db9787b951bbdfcf568d8bc (patch) | |
tree | e19b439a4c0d63b14de6dfe298cb574ab44a0c87 /extra/sqlite | |
parent | 6b55be9272c15e1858a1a7236482298f677c1a3b (diff) |
Sun Jun 8 03:32:09 UTC 2014
Diffstat (limited to 'extra/sqlite')
-rw-r--r-- | extra/sqlite/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/sqlite/sqlite-nautilus.patch | 41 |
2 files changed, 8 insertions, 57 deletions
diff --git a/extra/sqlite/PKGBUILD b/extra/sqlite/PKGBUILD index 2a31a43f2..1a6320372 100644 --- a/extra/sqlite/PKGBUILD +++ b/extra/sqlite/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 212049 2014-05-05 12:26:57Z andyrtr $ +# $Id: PKGBUILD 214341 2014-06-06 22:03:53Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgbase="sqlite" pkgname=('sqlite' 'sqlite-tcl' 'sqlite-doc') -_amalgamationver=3080403 +_amalgamationver=3080500 _docver=${_amalgamationver} #_docver=3080001 -pkgver=3.8.4.3 -pkgrel=2 +pkgver=3.8.5 +pkgrel=1 pkgdesc="A C library that implements an SQL database engine" arch=('i686' 'x86_64') license=('custom:Public Domain') @@ -17,19 +17,11 @@ makedepends=('tcl' 'readline') source=( # tarball containing the amalgamation for SQLite >= 3.7.5 together with a configure script and makefile for building it; includes now also the Tcl Extension Architecture (TEA) http://www.sqlite.org/2014/sqlite-autoconf-$_amalgamationver.tar.gz http://www.sqlite.org/2014/sqlite-doc-${_docver}.zip - license.txt - sqlite-nautilus.patch) + license.txt) options=('!emptydirs') -sha1sums=('70f3b100fa22e5bfebfe1b0a2102612e3c6c53fb' - 'ce8615799a9da7fc9d2cbcd2774d77da4ba72417' - 'f34f6daa4ab3073d74e774aad21d66878cf26853' - '4e9a4f80c91bbaf80f0f45b9b97fb1cbe3464bc7') - -prepare() { - cd "$srcdir"/sqlite-autoconf-$_amalgamationver - # https://bugs.archlinux.org/task/39861 - patch -Np1 -i ${srcdir}/sqlite-nautilus.patch -} +sha1sums=('7f667e10ccebc26ab2086b8a30cb0a600ca0acae' + 'c5655a4004095c50dc8403661e0ed02fd4191d57' + 'f34f6daa4ab3073d74e774aad21d66878cf26853') build() { export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE" diff --git a/extra/sqlite/sqlite-nautilus.patch b/extra/sqlite/sqlite-nautilus.patch deleted file mode 100644 index 046b1acfa..000000000 --- a/extra/sqlite/sqlite-nautilus.patch +++ /dev/null @@ -1,41 +0,0 @@ -Upstream fix for the issue that caused nautilus to crash. -RHBZ: #1075889 - ---- src/sqlite3.c -+++ src/sqlite3.c -@@ -4855,18 +4855,10 @@ - ** rowid appears in the ORDER BY clause, the corresponding WhereLoop is - ** automatically order-distinct. - */ - - assert( pOrderBy!=0 ); -- -- /* Sortability of virtual tables is determined by the xBestIndex method -- ** of the virtual table itself */ -- if( pLast->wsFlags & WHERE_VIRTUALTABLE ){ -- testcase( nLoop>0 ); /* True when outer loops are one-row and match -- ** no ORDER BY terms */ -- return pLast->u.vtab.isOrdered; -- } - if( nLoop && OptimizationDisabled(db, SQLITE_OrderByIdxJoin) ) return 0; - - nOrderBy = pOrderBy->nExpr; - testcase( nOrderBy==BMS-1 ); - if( nOrderBy>BMS-1 ) return 0; /* Cannot optimize overly large ORDER BYs */ -@@ -4875,11 +4867,14 @@ - orderDistinctMask = 0; - ready = 0; - for(iLoop=0; isOrderDistinct && obSat<obDone && iLoop<=nLoop; iLoop++){ - if( iLoop>0 ) ready |= pLoop->maskSelf; - pLoop = iLoop<nLoop ? pPath->aLoop[iLoop] : pLast; -- assert( (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 ); -+ if( pLoop->wsFlags & WHERE_VIRTUALTABLE ){ -+ if( pLoop->u.vtab.isOrdered ) obSat = obDone; -+ break; -+ } - iCur = pWInfo->pTabList->a[pLoop->iTab].iCursor; - - /* Mark off any ORDER BY term X that is a column in the table of - ** the current loop for which there is term in the WHERE - ** clause of the form X IS NULL or X=? that reference only outer - |