diff options
author | Keri Harris <keri@gentoo.org> | 2010-11-05 23:44:34 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-11-05 23:44:34 +0000 |
commit | 5b9bbcb6bce05040aaa1829f46841ec7af62a500 (patch) | |
tree | 1dd4b7a5d4b5842c216652dc7a93075753bf0e9c /dev-lang | |
parent | Fixed luadoc dependency. (diff) | |
download | gentoo-2-5b9bbcb6bce05040aaa1829f46841ec7af62a500.tar.gz gentoo-2-5b9bbcb6bce05040aaa1829f46841ec7af62a500.tar.bz2 gentoo-2-5b9bbcb6bce05040aaa1829f46841ec7af62a500.zip |
Add generics patch to fix tuprologx.AnotherList method call on Term lists
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/tuprolog/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch | 11 | ||||
-rw-r--r-- | dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild | 3 |
3 files changed, 18 insertions, 2 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog index 995b8df463a6..7564b14e18e2 100644 --- a/dev-lang/tuprolog/ChangeLog +++ b/dev-lang/tuprolog/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/tuprolog # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.33 2010/09/13 07:29:00 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.34 2010/11/05 23:44:34 keri Exp $ + + 05 Nov 2010; <keri@gentoo.org> tuprolog-2.3.0_alpha.ebuild, + +files/tuprolog-2.3.0_alpha-generics.patch: + Add generics patch to fix tuprologx.AnotherList method call on Term lists 13 Sep 2010; <keri@gentoo.org> tuprolog-2.3.0_alpha.ebuild: Add dev-lang/javassist to RDEPEND. Closes #336952 diff --git a/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch b/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch new file mode 100644 index 000000000000..2227fa1b89cd --- /dev/null +++ b/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch @@ -0,0 +1,11 @@ +--- tuprolog.orig/src/alice/tuprologx/pj/test/AnotherList.java 2010-01-21 21:29:48.000000000 +1300 ++++ tuprolog/src/alice/tuprologx/pj/test/AnotherList.java 2010-11-06 12:39:28.000000000 +1300 +@@ -47,7 +47,7 @@ + AnotherList lists = PJ.newInstance(AnotherList.class); + List<Int> l=lists.nil(); // Creating an empty list [] + for (int i=10;i>0;i--){ +- l=lists.add(new Int(i),l); // Adding elements...[1,2,3,4,5,6,7,8,9,10] ++ l=lists.<Int,List<Int>,List<Int>>add(new Int(i),l); // Adding elements...[1,2,3,4,5,6,7,8,9,10] + } + Var<List<Int>> l1 = new Var<List<Int>>("X"); + Var<List<Int>> l2 = new Var<List<Int>>("Y"); diff --git a/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild b/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild index b520667eafbf..974e1ad460df 100644 --- a/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild +++ b/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild,v 1.3 2010/09/13 07:29:00 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild,v 1.4 2010/11/05 23:44:34 keri Exp $ inherit eutils java-pkg-2 java-ant-2 @@ -29,6 +29,7 @@ EANT_GENTOO_CLASSPATH="javassist-3" src_unpack() { unpack ${A} + epatch "${FILESDIR}"/${P}-generics.patch epatch "${FILESDIR}"/${P}-javadocs.patch cp "${FILESDIR}"/build.xml "${S}" |