summaryrefslogtreecommitdiff
path: root/package/classpath/classpath-avr32-endianness.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/classpath/classpath-avr32-endianness.patch')
-rw-r--r--package/classpath/classpath-avr32-endianness.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/classpath/classpath-avr32-endianness.patch b/package/classpath/classpath-avr32-endianness.patch
new file mode 100644
index 000000000..2bb25dda5
--- /dev/null
+++ b/package/classpath/classpath-avr32-endianness.patch
@@ -0,0 +1,29 @@
+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
+