aboutsummaryrefslogtreecommitdiffstats
path: root/java/sablevm
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-31 01:35:17 +0800
committerarchie <archie@FreeBSD.org>2002-08-31 01:35:17 +0800
commit6db17273f913209289862463a2ff2a6c4c9e80d0 (patch)
tree2ec7828151966e5093b1fc35f9675c4adda6f2b7 /java/sablevm
parentc2a9e78919bea9a83d8ca777ea289f20e266771d (diff)
downloadfreebsd-ports-gnome-6db17273f913209289862463a2ff2a6c4c9e80d0.tar.gz
freebsd-ports-gnome-6db17273f913209289862463a2ff2a6c4c9e80d0.tar.zst
freebsd-ports-gnome-6db17273f913209289862463a2ff2a6c4c9e80d0.zip
Annihilate #inclusions of <malloc.h>.
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>