diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-11-20 10:51:33 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-11-20 10:51:33 +0000 |
commit | 6a0e3ee0fd8a6b97e27f6b7208725bd511cb2b80 (patch) | |
tree | 2b6071052159019dc29e703ebda6b8fd2943060c /dev-java/cglib | |
parent | Really added kdemultimedia-kioslaves dep this time. (diff) | |
download | gentoo-2-6a0e3ee0fd8a6b97e27f6b7208725bd511cb2b80.tar.gz gentoo-2-6a0e3ee0fd8a6b97e27f6b7208725bd511cb2b80.tar.bz2 gentoo-2-6a0e3ee0fd8a6b97e27f6b7208725bd511cb2b80.zip |
Patch out failures on memory leak tests. Calling gc() does not guarantee that memory will be freed. Bug #284316.
(Portage version: 2.2_rc50/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/cglib')
-rw-r--r-- | dev-java/cglib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/cglib/cglib-2.2.ebuild | 6 | ||||
-rw-r--r-- | dev-java/cglib/files/cglib-2.2-no-leak-test.patch | 11 |
3 files changed, 22 insertions, 2 deletions
diff --git a/dev-java/cglib/ChangeLog b/dev-java/cglib/ChangeLog index b1f9dfbfbd78..873f5b6dffab 100644 --- a/dev-java/cglib/ChangeLog +++ b/dev-java/cglib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/cglib # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.45 2009/10/15 08:12:16 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.46 2009/11/20 10:51:33 caster Exp $ + + 20 Nov 2009; Vlastimil Babka <caster@gentoo.org> cglib-2.2.ebuild, + +files/cglib-2.2-no-leak-test.patch: + Patch out failures on memory leak tests. Calling gc() does not guarantee + that memory will be freed. Bug #284316. 15 Oct 2009; Markus Meier <maekke@gentoo.org> cglib-2.2.ebuild: amd64/x86 stable, bug #284316 diff --git a/dev-java/cglib/cglib-2.2.ebuild b/dev-java/cglib/cglib-2.2.ebuild index 58e2a0548e4b..5c3566c7f138 100644 --- a/dev-java/cglib/cglib-2.2.ebuild +++ b/dev-java/cglib/cglib-2.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.2.ebuild,v 1.2 2009/10/15 08:12:16 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.2.ebuild,v 1.3 2009/11/20 10:51:33 caster Exp $ EAPI="2" JAVA_PKG_IUSE="test doc examples source" @@ -27,6 +27,10 @@ S=${WORKDIR} src_prepare() { epatch "${FILESDIR}/${P}-build.patch" + # mem leak tests fail on ppc #284316 + # assuming gc() guarantees to free all memory is wrong, so don't make them fail + epatch "${FILESDIR}/${P}-no-leak-test.patch" + cp "${FILESDIR}/words.txt" "${S}/src/test/net/sf/cglib/util/" } diff --git a/dev-java/cglib/files/cglib-2.2-no-leak-test.patch b/dev-java/cglib/files/cglib-2.2-no-leak-test.patch new file mode 100644 index 000000000000..416672a5498e --- /dev/null +++ b/dev-java/cglib/files/cglib-2.2-no-leak-test.patch @@ -0,0 +1,11 @@ +--- src/test/net/sf/cglib/CodeGenTestCase.java.orig 2009-11-20 11:49:04.000000000 +0100 ++++ src/test/net/sf/cglib/CodeGenTestCase.java 2009-11-20 11:49:18.000000000 +0100 +@@ -135,7 +135,7 @@ + + } + +- return true; ++ return false; + + + } |