summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-04-15 18:20:05 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-04-15 18:20:05 +0000
commitd041157fb3535bb5606d9fd0dfa3acd8bb83e365 (patch)
treeb8ac024518768aaee671b1dd84e882db9c6c6444 /dev-cpp/tree
parentfix collisions with kdelibs 4, bug 239521 (diff)
downloadgentoo-2-d041157fb3535bb5606d9fd0dfa3acd8bb83e365.tar.gz
gentoo-2-d041157fb3535bb5606d9fd0dfa3acd8bb83e365.tar.bz2
gentoo-2-d041157fb3535bb5606d9fd0dfa3acd8bb83e365.zip
Update test from upstream, closing bug #265430
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/tree')
-rw-r--r--dev-cpp/tree/ChangeLog6
-rw-r--r--dev-cpp/tree/files/tree-2.62-test.patch17
-rw-r--r--dev-cpp/tree/tree-2.62.ebuild9
3 files changed, 29 insertions, 3 deletions
diff --git a/dev-cpp/tree/ChangeLog b/dev-cpp/tree/ChangeLog
index 4f95631b2e59..9cdb0819fbcd 100644
--- a/dev-cpp/tree/ChangeLog
+++ b/dev-cpp/tree/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/tree
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/ChangeLog,v 1.1 2009/04/07 20:45:31 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/ChangeLog,v 1.2 2009/04/15 18:20:05 bicatali Exp $
+
+ 15 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/tree-2.62-test.patch, tree-2.62.ebuild:
+ Update test from upstream, closing bug #265430
*tree-2.62 (07 Apr 2009)
diff --git a/dev-cpp/tree/files/tree-2.62-test.patch b/dev-cpp/tree/files/tree-2.62-test.patch
new file mode 100644
index 000000000000..f7022426698b
--- /dev/null
+++ b/dev-cpp/tree/files/tree-2.62-test.patch
@@ -0,0 +1,17 @@
+--- test_tree.output 2008-08-28 11:16:11.000000000 +0100
++++ test_tree.output.new 2009-04-15 19:06:53.174832287 +0100
+@@ -1,3 +1,8 @@
++-----
++hi
++ 1
++ 0
++-----
+ empty tree to begin with:
+ 0
+ 'more text' is sibling 2 in its sibling range
+@@ -309,3 +314,5 @@
+ D
+ I
+ -----
++G
++H
diff --git a/dev-cpp/tree/tree-2.62.ebuild b/dev-cpp/tree/tree-2.62.ebuild
index f658fe37decf..860936df41e2 100644
--- a/dev-cpp/tree/tree-2.62.ebuild
+++ b/dev-cpp/tree/tree-2.62.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/tree-2.62.ebuild,v 1.2 2009/04/07 22:43:40 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/tree-2.62.ebuild,v 1.3 2009/04/15 18:20:05 bicatali Exp $
EAPI=2
-inherit toolchain-funcs
+inherit eutils toolchain-funcs
DESCRIPTION="An STL-like tree class"
HOMEPAGE="http://www.aei.mpg.de/~peekas/tree/"
@@ -17,6 +17,11 @@ IUSE="doc"
DEPEND=""
RDEPEND="${DEPEND}"
+src_prepare() {
+ # test was buggy, reported upstream
+ epatch "${FILESDIR}"/${P}-test.patch
+}
+
src_test() {
$(tc-getCXX) ${CXXFLAGS} test_tree.cc -o test_tree \
|| die "compile test failed"