aboutsummaryrefslogtreecommitdiff
path: root/java/sablevm
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2002-08-30 17:35:17 +0000
committerArchie Cobbs <archie@FreeBSD.org>2002-08-30 17:35:17 +0000
commit44ccdc5fd5d014cdc52719c7c5285abe88a797c5 (patch)
treeaeaee0c2735b619ab31c40bc21a493aef15f8247 /java/sablevm
parentac17d79a2a2ffa496cb27e95d38dd3becec88546 (diff)
downloadports-44ccdc5fd5d014cdc52719c7c5285abe88a797c5.tar.gz
ports-44ccdc5fd5d014cdc52719c7c5285abe88a797c5.zip
Annihilate #inclusions of <malloc.h>.
Notes
Notes: svn path=/head/; revision=65323
Diffstat (limited to 'java/sablevm')
-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>