buildrootschalter/package/java/classpath/classpath-avr32-endianness.patch

30 lines
839 B
Diff

diff -rup ../classpath-0.96.1.default/ChangeLog ./ChangeLog
--- ../classpath-0.96.1.default/ChangeLog 2007-10-16 17:35:33.000000000
+0200
+++ ./ChangeLog 2007-12-18 09:36:39.000000000 +0100
@@ -1,3 +1,7 @@
+2007-12-18 Leen Toelen <toelen@gmail.com>
+
+ * native/fdlibm/ieeefp.h: Added avr32 support
+
2007-10-16 Mark Wielaard <mark@klomp.org>
* NEWS: Mention small compile/configure/build fixes.
diff -rup ../classpath-0.96.1.default/native/fdlibm/ieeefp.h
./native/fdlibm/ieeefp.h
--- ../classpath-0.96.1.default/native/fdlibm/ieeefp.h 2006-04-19
19:55:13.000000000 +0200
+++ ./native/fdlibm/ieeefp.h 2007-12-18 09:32:55.000000000 +0100
@@ -87,6 +87,10 @@
#define __IEEE_LITTLE_ENDIAN
#endif
+#ifdef __AVR32__
+#define __IEEE_BIG_ENDIAN
+#endif
+
#ifdef __MIPSEL__
#define __IEEE_LITTLE_ENDIAN
#endif