ports/java/sablepath/files/patch-ag
Archie Cobbs 016d0c777f This port builds and installs a version of the GNU Classpath Java class
and native libraries package that has been customized to work with SableVM.

WWW: http://www.sablevm.org/
2002-07-09 22:05:31 +00:00

13 lines
447 B
Text

diff -ur sablepath-0.1.3.orig/native/lib/jcl.c sablepath-0.1.3/native/lib/jcl.c
--- sablepath-0.1.3.orig/native/lib/jcl.c Thu Jun 15 18:32:49 2000
+++ sablepath-0.1.3/native/lib/jcl.c Tue Jul 9 12:44:12 2002
@@ -26,7 +26,9 @@
#include <stdio.h>
#include <jcl.h>
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
static char errstr[4098]; // this way the memory is pre-allocated, so that we do not have to worry if we are out of memory.