summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2010-02-09 10:57:02 +0000
committerAlistair Bush <ali_bush@gentoo.org>2010-02-09 10:57:02 +0000
commit49d90571312702b485782e8d0084f90f5024fddc (patch)
treeaac62c68aa79a2447f92701665c63abe0257cdfd /dev-util/eclipse-sdk
parentamd64 stable, bug 298767 (diff)
downloadgentoo-2-49d90571312702b485782e8d0084f90f5024fddc.tar.gz
gentoo-2-49d90571312702b485782e8d0084f90f5024fddc.tar.bz2
gentoo-2-49d90571312702b485782e8d0084f90f5024fddc.zip
Fix out of memory exceptions thanks to Cybercide <cybercide@f2s.com>. see #297057.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/eclipse-sdk')
-rw-r--r--dev-util/eclipse-sdk/ChangeLog9
-rw-r--r--dev-util/eclipse-sdk/eclipse-sdk-3.5.1.ebuild6
-rw-r--r--dev-util/eclipse-sdk/files/3.5/jvmarg.patch10
3 files changed, 21 insertions, 4 deletions
diff --git a/dev-util/eclipse-sdk/ChangeLog b/dev-util/eclipse-sdk/ChangeLog
index 4085a370115f..5b81674750e9 100644
--- a/dev-util/eclipse-sdk/ChangeLog
+++ b/dev-util/eclipse-sdk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/eclipse-sdk
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/ChangeLog,v 1.150 2009/12/09 18:19:32 ali_bush Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/ChangeLog,v 1.151 2010/02/09 10:57:02 ali_bush Exp $
+
+ 09 Feb 2010; Alistair Bush <ali_bush@gentoo.org> +files/3.5/jvmarg.patch,
+ eclipse-sdk-3.5.1.ebuild:
+ Fix out of memory exceptions thanks to Cybercide <cybercide@f2s.com>. see
+ #297057.
*eclipse-sdk-3.5.1 (09 Dec 2009)
diff --git a/dev-util/eclipse-sdk/eclipse-sdk-3.5.1.ebuild b/dev-util/eclipse-sdk/eclipse-sdk-3.5.1.ebuild
index 512f4c1d946b..8a39d390842d 100644
--- a/dev-util/eclipse-sdk/eclipse-sdk-3.5.1.ebuild
+++ b/dev-util/eclipse-sdk/eclipse-sdk-3.5.1.ebuild
@@ -1,6 +1,6 @@
-# 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-util/eclipse-sdk/eclipse-sdk-3.5.1.ebuild,v 1.1 2009/12/09 18:19:32 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/eclipse-sdk-3.5.1.ebuild,v 1.2 2010/02/09 10:57:02 ali_bush Exp $
EAPI="2"
WANT_ANT_TASKS="ant-nodeps"
@@ -91,6 +91,8 @@ src_unpack() {
}
src_prepare() {
+ epatch "${FILESDIR}/3.5/jvmarg.patch" || die
+
# apply patches before we start cleaning junk out
eant applyPatches
diff --git a/dev-util/eclipse-sdk/files/3.5/jvmarg.patch b/dev-util/eclipse-sdk/files/3.5/jvmarg.patch
new file mode 100644
index 000000000000..95ac7049038a
--- /dev/null
+++ b/dev-util/eclipse-sdk/files/3.5/jvmarg.patch
@@ -0,0 +1,10 @@
+--- a/build/eclipse-build-0_4_RC6/build.xml 2009-11-05 11:15:17.000000000 +0000
++++ b/build/eclipse-build-0_4_RC6/build.xml 2010-01-07 22:29:17.000000000 +0000
+@@ -283,6 +283,7 @@
+ <arg line="-Dbuilder=${buildConfig} " />
+ <arg line="-DbuildDirectory=${buildDirectory} " />
+ <arg line="-consolelog " />
++ <jvmarg value="-Xmx512m"/>
+ </java>
+ <!--
+ <ant antfile="build.xml" dir="${eclipse.pdebuild.scripts}">