summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2002-08-23 05:09:36 +0000
committerArchie Cobbs <archie@FreeBSD.org>2002-08-23 05:09:36 +0000
commit0615123de6212a159d0ab20a9347ca27b76e3ed1 (patch)
tree8dcd60dc53fcfd2e1581dc01e5946b0be10ca847 /java
parentUse POSIX syntax for chown to fix install on 5.x (diff)
Patches to fix compilation on -stable.
Notes
Notes: svn path=/head/; revision=64858
Diffstat (limited to 'java')
-rw-r--r--java/sablevm/files/patch-ai16
-rw-r--r--java/sablevm/files/patch-aj11
2 files changed, 27 insertions, 0 deletions
diff --git a/java/sablevm/files/patch-ai b/java/sablevm/files/patch-ai
new file mode 100644
index 000000000000..0a0ad425eac5
--- /dev/null
+++ b/java/sablevm/files/patch-ai
@@ -0,0 +1,16 @@
+--- work.orig/sablevm-native-library-1.0.3/src/fdlibm/mprec.h.orig Thu Aug 22 21:32:46 2002
++++ work/sablevm-native-library-1.0.3/src/fdlibm/mprec.h Thu Aug 22 21:35:34 2002
+@@ -57,11 +57,11 @@
+
+ /* ISO C99 int type declarations */
+
+-#if !defined HAVE_INT32_DEFINED && defined HAVE_BSD_INT32_DEFINED
++#if 0
+ typedef u_int32_t uint32_t;
+ #endif
+
+-#if !defined HAVE_BSD_INT32_DEFINED && !defined HAVE_INT32_DEFINED
++#if 0
+ // FIXME -- this could have problems with systems that don't define SI to be 4
+ typedef int int32_t __attribute__ ((mode (SI)));
+
diff --git a/java/sablevm/files/patch-aj b/java/sablevm/files/patch-aj
new file mode 100644
index 000000000000..b403bf030d9f
--- /dev/null
+++ b/java/sablevm/files/patch-aj
@@ -0,0 +1,11 @@
+--- work/sablevm-native-library-1.0.3/src/fdlibm/strtod.c.orig Thu Aug 22 21:54:29 2002
++++ work/sablevm-native-library-1.0.3/src/fdlibm/strtod.c Thu Aug 22 21:54:38 2002
+@@ -98,7 +98,7 @@
+ */
+
+ #include <string.h>
+-#include <float.h>
++#include <machine/float.h>
+ #include <errno.h>
+ #include "mprec.h"
+