idella4 15/05/15 12:11:12 Modified: sqlite-3.8.10.1.ebuild ChangeLog Log: Fix parallel building with USE=-tcl (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.7 dev-db/sqlite/sqlite-3.8.10.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/sqlite-3.8.10.1.ebuild?rev=1.7&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/sqlite-3.8.10.1.ebuild?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/sqlite-3.8.10.1.ebuild?r1=1.6&r2=1.7 Index: sqlite-3.8.10.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.8.10.1.ebuild,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- sqlite-3.8.10.1.ebuild 15 May 2015 11:55:43 -0000 1.6 +++ sqlite-3.8.10.1.ebuild 15 May 2015 12:11:12 -0000 1.7 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.8.10.1.ebuild,v 1.6 2015/05/15 11:55:43 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.8.10.1.ebuild,v 1.7 2015/05/15 12:11:12 idella4 Exp $ EAPI="5" @@ -54,6 +54,12 @@ src_prepare() { if amalgamation; then epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" + + # http://www.sqlite.org/cgi/src/info/85bfa9a67f997084 + sed \ + -e "s/^sqlite3_SOURCES = shell.c sqlite3.h$/sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h/" \ + -e "s/^sqlite3_LDADD = sqlite3.\$(OBJEXT) @READLINE_LIBS@$/sqlite3_LDADD = @READLINE_LIBS@\nsqlite3_CFLAGS = \$(AM_CFLAGS)/" \ + -i Makefile.am else epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch" @@ -138,6 +144,7 @@ append-cppflags -DSQLITE_OMIT_WAL fi + # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then append-cppflags -DUSE_PREAD fi 1.567 dev-db/sqlite/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.567&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.567&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.566&r2=1.567 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v retrieving revision 1.566 retrieving revision 1.567 diff -u -r1.566 -r1.567 --- ChangeLog 15 May 2015 11:55:43 -0000 1.566 +++ ChangeLog 15 May 2015 12:11:12 -0000 1.567 @@ -1,6 +1,10 @@ # ChangeLog for dev-db/sqlite # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.566 2015/05/15 11:55:43 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.567 2015/05/15 12:11:12 idella4 Exp $ + + 15 May 2015; Ian Delaney <[email protected]> sqlite-3.8.10.1.ebuild: + Fix parallel building with USE="-tcl -test -tools" (bug #549412). + Patch by Arfrever. 15 May 2015; Pacho Ramos <[email protected]> sqlite-3.8.10.1.ebuild: ppc stable wrt bug #549258
