aboutsummaryrefslogtreecommitdiff
path: root/java/netbeans-devel/files/patch-netbeans
diff options
context:
space:
mode:
Diffstat (limited to 'java/netbeans-devel/files/patch-netbeans')
-rw-r--r--java/netbeans-devel/files/patch-netbeans16
1 files changed, 8 insertions, 8 deletions
diff --git a/java/netbeans-devel/files/patch-netbeans b/java/netbeans-devel/files/patch-netbeans
index aca380c1a05a..25b27f708e28 100644
--- a/java/netbeans-devel/files/patch-netbeans
+++ b/java/netbeans-devel/files/patch-netbeans
@@ -1,6 +1,6 @@
---- bin/netbeans.orig 2012-11-07 00:53:26.000000000 +0100
-+++ bin/netbeans 2012-12-04 14:42:26.000000000 +0100
-@@ -161,6 +161,10 @@
+--- bin/netbeans.orig 2015-08-04 14:44:18.000000000 +0200
++++ bin/netbeans 2015-09-16 13:23:02.012670000 +0200
+@@ -163,6 +163,10 @@
mem=`/usr/sbin/sysctl hw.memsize | tr -d [:alpha:][:space:].:`
mem=`expr $mem / 1048576`
;;
@@ -11,16 +11,16 @@
*)
;;
esac
-@@ -188,7 +192,7 @@
+@@ -190,7 +194,7 @@
if grep -v -- "-J-XX:MaxPermSize" >/dev/null <<EOF ; then
${netbeans_default_options}
EOF
-- netbeans_default_options="-J-XX:MaxPermSize=384m ${netbeans_default_options}"
-+ netbeans_default_options="-J-XX:MaxPermSize=512m ${netbeans_default_options} --nosplash"
+- netbeans_default_options="-L-XX:MaxPermSize=384m ${netbeans_default_options}"
++ netbeans_default_options="-L-XX:MaxPermSize=512m ${netbeans_default_options} --nosplash"
fi
- launchNbexec() {
-@@ -237,6 +241,8 @@
+ if grep -v -- "-J-XX:PermSize" >/dev/null <<EOF ; then
+@@ -245,6 +249,8 @@
--jdkhome '"$netbeans_jdkhome"' \
--branding nb \
--clusters '"$netbeans_clusters"' \