Patches to fix compilation on -stable.
This commit is contained in:
parent
303240bcf8
commit
0615123de6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64858
16
java/sablevm/files/patch-ai
Normal file
16
java/sablevm/files/patch-ai
Normal file
@ -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)));
|
||||
|
11
java/sablevm/files/patch-aj
Normal file
11
java/sablevm/files/patch-aj
Normal file
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user