diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-05-08 14:23:17 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-05-08 14:23:17 +0000 |
commit | f6f024e8b0af355161957537cbf25388c88aad2a (patch) | |
tree | 20679a9e89748aa697fea05c96efba934836c399 /openwrt/package/sablevm | |
parent | 670b52a218e9b918b414c815e8e133bc01155207 (diff) | |
download | mtk-20170518-f6f024e8b0af355161957537cbf25388c88aad2a.zip mtk-20170518-f6f024e8b0af355161957537cbf25388c88aad2a.tar.gz mtk-20170518-f6f024e8b0af355161957537cbf25388c88aad2a.tar.bz2 |
update sablevm to 1.13 (closes: #524), add the patch from whiterussian to use a reasonable heap size.
SVN-Revision: 3738
Diffstat (limited to 'openwrt/package/sablevm')
-rw-r--r-- | openwrt/package/sablevm/Makefile | 4 | ||||
-rw-r--r-- | openwrt/package/sablevm/patches/001-heap_size.patch | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/openwrt/package/sablevm/Makefile b/openwrt/package/sablevm/Makefile index 7eec3f4..d09b116 100644 --- a/openwrt/package/sablevm/Makefile +++ b/openwrt/package/sablevm/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sablevm -PKG_VERSION:=1.11.3 +PKG_VERSION:=1.13 PKG_RELEASE:=1 -PKG_MD5SUM:=aea6e808c5f2e3646a60971485220bff +PKG_MD5SUM:=d5828200032bfe921dd43e450931e38c PKG_SOURCE_URL:=http://sablevm.org/download/release/$(PKG_VERSION)/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/openwrt/package/sablevm/patches/001-heap_size.patch b/openwrt/package/sablevm/patches/001-heap_size.patch new file mode 100644 index 0000000..d282372 --- /dev/null +++ b/openwrt/package/sablevm/patches/001-heap_size.patch @@ -0,0 +1,15 @@ +diff -ruN sablevm-1.11.1-orig/src/libsablevm/system.h sablevm-1.11.1-1/src/libsablevm/system.h +--- sablevm-1.11.1-orig/src/libsablevm/system.h 2005-03-18 01:25:09.000000000 +0100 ++++ sablevm-1.11.1-1/src/libsablevm/system.h 2005-03-22 01:05:19.000000000 +0100 +@@ -279,9 +279,9 @@ + + #elif defined (_SABLEVM_COPY_GC) || (_SABLEVM_GENCOPY_GC) + +-#define SVM_HEAP_DEFAULT_MIN_SIZE 16777216 ++#define SVM_HEAP_DEFAULT_MIN_SIZE 1048576 + #define SVM_HEAP_DEFAULT_MAX_SIZE 0 +-#define SVM_HEAP_DEFAULT_ALLOCATION_INCREMENT 1048576 ++#define SVM_HEAP_DEFAULT_ALLOCATION_INCREMENT 65536 + + #if defined (_SABLEVM_GENCOPY_GC) + |