aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/sablevm/files/patch-aj11
-rw-r--r--java/sablevm/files/patch-ak10
2 files changed, 21 insertions, 0 deletions
diff --git a/java/sablevm/files/patch-aj b/java/sablevm/files/patch-aj
new file mode 100644
index 000000000000..a585822315e7
--- /dev/null
+++ b/java/sablevm/files/patch-aj
@@ -0,0 +1,11 @@
+--- work.orig/sablevm-native-library-1.0.4/src/classpath/jcl.c Tue Jan 22 16:16:06 2002
++++ work/sablevm-native-library-1.0.4/src/classpath/jcl.c Fri Aug 30 10:21:41 2002
+@@ -37,7 +37,7 @@
+
+ #include <stdio.h>
+ #include <jcl.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ 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.
+
diff --git a/java/sablevm/files/patch-ak b/java/sablevm/files/patch-ak
new file mode 100644
index 000000000000..28c909dd04d4
--- /dev/null
+++ b/java/sablevm/files/patch-ak
@@ -0,0 +1,10 @@
+--- work.orig/sablevm-native-library-1.0.4/src/java-io/javaio.c Tue Jan 22 16:16:06 2002
++++ work/sablevm-native-library-1.0.4/src/java-io/javaio.c Fri Aug 30 10:21:47 2002
+@@ -43,7 +43,6 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+-#include <malloc.h>
+
+ #include <jni.h>
+ #include <jcl.h>