diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-04-18 06:36:18 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-04-18 06:36:18 +0000 |
commit | e1ed752e63ef90b156264f1a7a21e1101a852e7b (patch) | |
tree | 78092ae4b9eef34f323eee77fcff72e5e8922d84 /dev-tcltk/itcl | |
parent | Fix env.d file's LDPATH points to wrong directory, #363793 (diff) | |
download | gentoo-2-e1ed752e63ef90b156264f1a7a21e1101a852e7b.tar.gz gentoo-2-e1ed752e63ef90b156264f1a7a21e1101a852e7b.tar.bz2 gentoo-2-e1ed752e63ef90b156264f1a7a21e1101a852e7b.zip |
Fix for tests, upstream didn't correct test according to code changes
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/itcl')
-rw-r--r-- | dev-tcltk/itcl/ChangeLog | 6 | ||||
-rw-r--r-- | dev-tcltk/itcl/files/3.4_beta1-test.patch | 16 | ||||
-rw-r--r-- | dev-tcltk/itcl/itcl-3.4_beta1.ebuild | 8 |
3 files changed, 27 insertions, 3 deletions
diff --git a/dev-tcltk/itcl/ChangeLog b/dev-tcltk/itcl/ChangeLog index 8dbcd4cfee50..facf9f2ff15b 100644 --- a/dev-tcltk/itcl/ChangeLog +++ b/dev-tcltk/itcl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-tcltk/itcl # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.47 2011/04/18 06:20:41 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.48 2011/04/18 06:36:18 jlec Exp $ + + 18 Apr 2011; Justin Lecher <jlec@gentoo.org> +files/3.4_beta1-test.patch, + itcl-3.4_beta1.ebuild: + Fix for tests, upstream didn't correct test according to code changes 18 Apr 2011; Justin Lecher <jlec@gentoo.org> itcl-3.3-r1.ebuild, itcl-3.3.1_pre20090417.ebuild, itcl-3.3.1_pre20090417-r1.ebuild: diff --git a/dev-tcltk/itcl/files/3.4_beta1-test.patch b/dev-tcltk/itcl/files/3.4_beta1-test.patch new file mode 100644 index 000000000000..16e7fce59c67 --- /dev/null +++ b/dev-tcltk/itcl/files/3.4_beta1-test.patch @@ -0,0 +1,16 @@ + itcl/tests/ensemble.test | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/itcl/tests/ensemble.test b/itcl/tests/ensemble.test +index c21531e..c36ad5f 100644 +--- a/itcl/tests/ensemble.test ++++ b/itcl/tests/ensemble.test +@@ -98,7 +98,7 @@ test ensemble-1.10 {part errors are handled gracefully} { + + test ensemble-1.11 {part argument errors are handled gracefully} { + list [catch "itcl::ensemble test_numbers {part foo {{}} {}}" msg] $msg $errorInfo +-} {1 {procedure "foo" has argument with no name} {procedure "foo" has argument with no name ++} {1 {argument with no name} {argument with no name + while executing + "part foo {{}} {}" + ("ensemble" body line 1) diff --git a/dev-tcltk/itcl/itcl-3.4_beta1.ebuild b/dev-tcltk/itcl/itcl-3.4_beta1.ebuild index 2af7f7f38660..9dd6889dd255 100644 --- a/dev-tcltk/itcl/itcl-3.4_beta1.ebuild +++ b/dev-tcltk/itcl/itcl-3.4_beta1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.4_beta1.ebuild,v 1.2 2010/06/07 15:05:23 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.4_beta1.ebuild,v 1.3 2011/04/18 06:36:18 jlec Exp $ EAPI="3" @@ -22,6 +22,10 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${PN}$(get_version_component_range 1-2)" +src_prepare() { + epatch "${FILESDIR}"/${PV}-test.patch +} + src_compile() { # adjust install_name on darwin if [[ ${CHOST} == *-darwin* ]]; then |