summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMarkus Duft <mduft@gentoo.org>2011-07-15 14:04:41 +0000
committerMarkus Duft <mduft@gentoo.org>2011-07-15 14:04:41 +0000
commitfde644b0cc0c66d15eacddd4930d02eaefb35253 (patch)
tree1a7fd495bcc4d150cde20b1be7adfa031677c600 /dev-db
parentMarked ~ppc wrt #371833 (diff)
downloadgentoo-2-fde644b0cc0c66d15eacddd4930d02eaefb35253.tar.gz
gentoo-2-fde644b0cc0c66d15eacddd4930d02eaefb35253.tar.bz2
gentoo-2-fde644b0cc0c66d15eacddd4930d02eaefb35253.zip
added interix patch which does not have ESTALE. reported and accepted (in vcs) upstream.
(Portage version: 2.1.10.3/cvs/Linux i686)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqlite/ChangeLog6
-rw-r--r--dev-db/sqlite/files/sqlite-3.7.7.1-interix-amalgamation.patch16
-rw-r--r--dev-db/sqlite/sqlite-3.7.7.1.ebuild6
3 files changed, 26 insertions, 2 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog
index 69848b524723..06a6c59e522a 100644
--- a/dev-db/sqlite/ChangeLog
+++ b/dev-db/sqlite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/sqlite
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.376 2011/07/01 21:44:42 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.377 2011/07/15 14:04:41 mduft Exp $
+
+ 11 Jul 2011; Markus Duft <mduft@gentoo.org> sqlite-3.7.7.1.ebuild,
+ +files/sqlite-3.7.7.1-interix-amalgamation.patch:
+ added build fix for systems missing ESTALE (interix)
*sqlite-3.7.7.1 (01 Jul 2011)
diff --git a/dev-db/sqlite/files/sqlite-3.7.7.1-interix-amalgamation.patch b/dev-db/sqlite/files/sqlite-3.7.7.1-interix-amalgamation.patch
new file mode 100644
index 000000000000..7f90fd6591c8
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.7.7.1-interix-amalgamation.patch
@@ -0,0 +1,16 @@
+reported and accepted upstream: http://sqlite.org:8080/cgi-bin/mailman/private/sqlite-dev/2011-July/001281.html
+(archives are private ... :( )
+
+diff -ru sqlite-autoconf-3070701.orig/sqlite3.c sqlite-autoconf-3070701/sqlite3.c
+--- sqlite-autoconf-3070701.orig/sqlite3.c 2011-07-07 07:49:38 +0200
++++ sqlite-autoconf-3070701/sqlite3.c 2011-07-07 07:50:46 +0200
+@@ -25143,7 +25143,9 @@
+ case ENODEV:
+ case ENXIO:
+ case ENOENT:
++#ifdef ESTALE
+ case ESTALE:
++#endif
+ case ENOSYS:
+ /* these should force the client to close the file and reconnect */
+
diff --git a/dev-db/sqlite/sqlite-3.7.7.1.ebuild b/dev-db/sqlite/sqlite-3.7.7.1.ebuild
index 9c4c884bb0bd..50f1c43e07d6 100644
--- a/dev-db/sqlite/sqlite-3.7.7.1.ebuild
+++ b/dev-db/sqlite/sqlite-3.7.7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.7.7.1.ebuild,v 1.1 2011/07/01 21:44:42 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.7.7.1.ebuild,v 1.2 2011/07/15 14:04:41 mduft Exp $
EAPI="3"
@@ -48,6 +48,10 @@ pkg_setup() {
}
src_prepare() {
+ if amalgamation; then
+ epatch "${FILESDIR}"/${P}-interix-amalgamation.patch
+ fi
+
epunt_cxx
}