From 016d0c777ff720ee3e527f8417c86550b27f8031 Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Tue, 9 Jul 2002 22:05:31 +0000 Subject: This port builds and installs a version of the GNU Classpath Java class and native libraries package that has been customized to work with SableVM. WWW: http://www.sablevm.org/ --- java/sablepath/files/patch-af | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 java/sablepath/files/patch-af (limited to 'java/sablepath/files/patch-af') diff --git a/java/sablepath/files/patch-af b/java/sablepath/files/patch-af new file mode 100644 index 000000000000..8fa36f03d0a9 --- /dev/null +++ b/java/sablepath/files/patch-af @@ -0,0 +1,24 @@ +diff -ur sablepath-0.1.3.orig/native/java.math/BigInteger.c sablepath-0.1.3/native/java.math/BigInteger.c +--- sablepath-0.1.3.orig/native/java.math/BigInteger.c Tue Nov 21 14:07:56 2000 ++++ sablepath-0.1.3/native/java.math/BigInteger.c Tue Jul 9 12:44:12 2002 +@@ -28,12 +28,20 @@ + #include + #include + #include ++#ifdef HAVE_ENDIAN_H + #include ++#endif + #include + #include "java_math_BigInteger.h" + #include "../nsa/native_state.h" + #include + ++#ifdef HAVE_MACHINE_ENDIAN_H ++#include ++#if BYTE_ORDER == BIG_ENDIAN ++#define WORDS_BIGENDIAN ++#endif ++#endif + + /* maximum value a jdouble can hold */ + #define JDBL_MAX 1.7976931348623157e+308 -- cgit v1.2.3