diff options
author | gahr <gahr@FreeBSD.org> | 2011-04-01 17:38:20 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2011-04-01 17:38:20 +0800 |
commit | cbbbae397ddbb0814cde3167a756d57c71e143be (patch) | |
tree | 0da0000c637229d089a67ecf3426af0b1ffec777 /java/netbeans | |
parent | ac80c907e2114f058850924af60a61d4b34155ea (diff) | |
download | freebsd-ports-gnome-cbbbae397ddbb0814cde3167a756d57c71e143be.tar.gz freebsd-ports-gnome-cbbbae397ddbb0814cde3167a756d57c71e143be.tar.zst freebsd-ports-gnome-cbbbae397ddbb0814cde3167a756d57c71e143be.zip |
- Add patch to determine heap size
Reported by: Seva Fwd <seva_fwd@yahoo.com>
Diffstat (limited to 'java/netbeans')
-rw-r--r-- | java/netbeans/files/patch-bin_netbeans | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/netbeans/files/patch-bin_netbeans b/java/netbeans/files/patch-bin_netbeans new file mode 100644 index 000000000000..bfac0afb13fe --- /dev/null +++ b/java/netbeans/files/patch-bin_netbeans @@ -0,0 +1,13 @@ +--- bin/netbeans.orig 2011-04-01 09:49:45.000000000 +0200 ++++ bin/netbeans 2011-04-01 09:51:07.000000000 +0200 +@@ -131,6 +131,10 @@ + mem=`/usr/sbin/sysctl hw.memsize | tr -d [:alpha:][:space:].:` + mem=`expr $mem / 1048576` + ;; ++ FreeBSD*) ++ mem=`/sbin/sysctl -n hw.realmem` ++ mem=`expr $mem / 1048576` ++ ;; + *) + ;; + esac |