diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-04-01 09:38:20 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-04-01 09:38:20 +0000 |
commit | 2482d63c7d6f42a324b6fd39c46bf574b9f6f4d2 (patch) | |
tree | 208e57ae65299cea41f5c93557f986b2db139f30 /java/netbeans/files | |
parent | 6edfd6fb2e0cfdb544f89180ce0a322e816bd350 (diff) | |
download | ports-2482d63c7d6f42a324b6fd39c46bf574b9f6f4d2.tar.gz ports-2482d63c7d6f42a324b6fd39c46bf574b9f6f4d2.zip |
- Add patch to determine heap size
Reported by: Seva Fwd <seva_fwd@yahoo.com>
Notes
Notes:
svn path=/head/; revision=272082
Diffstat (limited to 'java/netbeans/files')
-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 |