While testing a lang/ecl update I found that a sbrk-based heap is too
small on i386 to run large programs, like lang/sbcl's
cross-compiler. Switching to an mmap-based heap seems to work fine for
ecl 20.4.24 but I wonder if it would break any other consumers.
diff --git a/Makefile b/Makefile
index 9916ffc..5b9b9f9 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ DISTNAME= gc-${VERSION}
PKGNAME-atomic= libatomic_ops-${LIBAO_VERSION}
PKGNAME-main= boehm-gc-${VERSION}
-REVISION= 5
+REVISION= 6
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
libatomic_ops-${LIBAO_VERSION}${EXTRACT_SUFX}
@@ -47,7 +47,8 @@ MAKE_ENV= CP="cp" \
CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS= --with-libatomic-ops=no \
+CONFIGURE_ARGS= --enable-munmap \
+ --with-libatomic-ops=no \
--enable-cplusplus \
--enable-threads=pthreads