summaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea/openjdk-7-03b147/icedtea-unbreak-float.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2012-11-22 18:47:13 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2012-11-22 18:49:40 +0100
commit7dbdd2420d3888d8b7e4e1418ba1bbfe0b1f687c (patch)
treeca625d3583eee077c9750bd47a97b83e8ffef540 /recipes-core/icedtea/openjdk-7-03b147/icedtea-unbreak-float.patch
parente6e59540e4540dfca17c5904aad6fdc23cf6934e (diff)
downloadmeta-java-7dbdd2420d3888d8b7e4e1418ba1bbfe0b1f687c.tar.gz
icedtea7-native: simple copy over from openjdk-7 branch
Diffstat (limited to 'recipes-core/icedtea/openjdk-7-03b147/icedtea-unbreak-float.patch')
-rw-r--r--recipes-core/icedtea/openjdk-7-03b147/icedtea-unbreak-float.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-core/icedtea/openjdk-7-03b147/icedtea-unbreak-float.patch b/recipes-core/icedtea/openjdk-7-03b147/icedtea-unbreak-float.patch
new file mode 100644
index 0000000..b5219da
--- /dev/null
+++ b/recipes-core/icedtea/openjdk-7-03b147/icedtea-unbreak-float.patch
@@ -0,0 +1,16 @@
1--- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
2+++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
3@@ -26,13 +26,11 @@
4
5 #include "jfdlibm.h"
6
7-#ifdef __NEWVALID /* special setup for Sun test regime */
8 #if defined(i386) || defined(i486) || \
9 defined(intel) || defined(x86) || defined(arm) || \
10 defined(i86pc) || defined(_M_IA64) || defined(ia64)
11 #define _LITTLE_ENDIAN
12 #endif
13-#endif
14
15 #ifdef _LITTLE_ENDIAN
16 #define __HI(x) *(1+(int*)&x)