diff options
author | archie <archie@FreeBSD.org> | 2002-08-23 13:09:36 +0800 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2002-08-23 13:09:36 +0800 |
commit | 7fe0ac584f1b709a74cf0f41f3b3691dd0972e41 (patch) | |
tree | 57edd3df2a2b058cda912df317c70ace37fd9be5 /java | |
parent | c1db4d044c0698f40c9ac962ad971de5bdfb916a (diff) | |
download | freebsd-ports-gnome-7fe0ac584f1b709a74cf0f41f3b3691dd0972e41.tar.gz freebsd-ports-gnome-7fe0ac584f1b709a74cf0f41f3b3691dd0972e41.tar.zst freebsd-ports-gnome-7fe0ac584f1b709a74cf0f41f3b3691dd0972e41.zip |
Patches to fix compilation on -stable.
Diffstat (limited to 'java')
-rw-r--r-- | java/sablevm/files/patch-ai | 16 | ||||
-rw-r--r-- | java/sablevm/files/patch-aj | 11 |
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" + |