diff options
author | Akinori Hattori <hattya@gentoo.org> | 2010-07-31 09:50:45 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2010-07-31 09:50:45 +0000 |
commit | 735159d40b1e5c64a6edcaf158203ab87680224d (patch) | |
tree | 0c34bdaa0011b541b028c5b324644f2d8231cd8d /dev-scheme | |
parent | Stable on amd64 wrt bug #329841 (diff) | |
download | gentoo-2-735159d40b1e5c64a6edcaf158203ab87680224d.tar.gz gentoo-2-735159d40b1e5c64a6edcaf158203ab87680224d.tar.bz2 gentoo-2-735159d40b1e5c64a6edcaf158203ab87680224d.zip |
fixes bug #313367.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/gauche-cdb/ChangeLog | 8 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff | 4 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-segv.diff | 12 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild | 24 |
4 files changed, 29 insertions, 19 deletions
diff --git a/dev-scheme/gauche-cdb/ChangeLog b/dev-scheme/gauche-cdb/ChangeLog index 5f5f70c88b03..7c2e6130ca8e 100644 --- a/dev-scheme/gauche-cdb/ChangeLog +++ b/dev-scheme/gauche-cdb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-scheme/gauche-cdb -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/ChangeLog,v 1.8 2009/01/13 13:48:41 hattya Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/ChangeLog,v 1.9 2010/07/31 09:50:45 hattya Exp $ + + 31 Jul 2010; Akinori Hattori <hattya@gentoo.org> gauche-cdb-0.3.1.ebuild, + files/gauche-cdb-0.3.1-gpd.diff, +files/gauche-cdb-0.3.1-segv.diff: + fixes bug #313367. 13 Jan 2009; Akinori Hattori <hattya@gentoo.org> -files/gauche-cdb-0.3.1-tinycdb.diff, gauche-cdb-0.3.1.ebuild: diff --git a/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff index 3ef4b9e5e633..ab6c17788eaa 100644 --- a/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff +++ b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff @@ -1,6 +1,6 @@ diff -u Gauche-cdb-0.3.1.orig/configure.ac Gauche-cdb-0.3.1/configure.ac ---- Gauche-cdb-0.3.1.orig/configure.ac 2004-02-25 11:40:16.000000000 +0900 -+++ Gauche-cdb-0.3.1/configure.ac 2004-07-18 23:48:00.540652808 +0900 +--- Gauche-cdb-0.3.1.orig/configure.ac ++++ Gauche-cdb-0.3.1/configure.ac @@ -16,6 +16,7 @@ AC_LIB_LINKFLAGS(cdb) diff --git a/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-segv.diff b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-segv.diff new file mode 100644 index 000000000000..7ee9e60b3c2f --- /dev/null +++ b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-segv.diff @@ -0,0 +1,12 @@ +diff -ur Gauche-cdb-0.3.1.orig/cdb.stub Gauche-cdb-0.3.1/cdb.stub +--- Gauche-cdb-0.3.1.orig/cdb.stub ++++ Gauche-cdb-0.3.1/cdb.stub +@@ -69,7 +69,7 @@ + + static void cdb_finalize(ScmObj obj, void *data) + { +- ScmCdb *cdb = SCM_CDB(cdb); ++ ScmCdb *cdb = SCM_CDB(obj); + switch (cdb->status) { + case OPEN_QUERY: + cdb_free(&cdb->cdb); close(cdb_fileno(&cdb->cdb)); diff --git a/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild b/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild index da662b64ca65..41c6ea5e92ca 100644 --- a/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild +++ b/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild,v 1.9 2009/01/13 13:48:41 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild,v 1.10 2010/07/31 09:50:45 hattya Exp $ + +EAPI="2" inherit autotools eutils @@ -17,18 +19,12 @@ KEYWORDS="ia64 x86" SLOT="0" S="${WORKDIR}/${MY_P}" -DEPEND=">=dev-scheme/gauche-0.7.4 +DEPEND="dev-scheme/gauche dev-db/tinycdb" -src_unpack() { - - unpack ${A} - cd "${S}" - - if has_version '>=dev-scheme/gauche-0.8'; then - epatch "${FILESDIR}"/${P}-gpd.diff - fi +src_prepare() { + epatch "${FILESDIR}"/*.diff eautoreconf } @@ -38,9 +34,7 @@ src_install() { emake DESTDIR="${D}" install || die dodoc README - if has_version '>=dev-scheme/gauche-0.8'; then - insinto "$(gauche-config --sitelibdir)/.packages" - doins ${MY_P%-*}.gpd - fi + insinto "$(gauche-config --sitelibdir)/.packages" + doins ${MY_P%-*}.gpd } |