summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 13:34:09 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 21:53:27 +0200
commitf03d3e5bbb6a096960a781547884015f50be96da (patch)
tree24cda7f1740cfbafbbb3073e85aedee4cfc3eba0 /recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch
parent7fce07f9fbdada8ba9c3d1bc65d5bcd9c7a8d1d8 (diff)
downloadmeta-java-f03d3e5bbb6a096960a781547884015f50be96da.tar.gz
openjdk7: update openjdk7 to version 2.3.12
* notice openjdk7 2.1 and 2.2 will soon get no updates anymore * openjdk7 2.3 has now arm byte compiler support * use cacao hg version e215e36be9fc, because a567bcb7f589 is not working
Diffstat (limited to 'recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch')
-rw-r--r--recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch b/recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch
new file mode 100644
index 0000000..c03b23c
--- /dev/null
+++ b/recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch
@@ -0,0 +1,18 @@
1diff --git openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
2index c24c781..ccdc41a 100644
3--- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
4+++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
5@@ -32,13 +32,11 @@
6 #endif
7 #include "jfdlibm.h"
8
9-#ifdef __NEWVALID /* special setup for Sun test regime */
10 #if defined(i386) || defined(i486) || \
11 defined(intel) || defined(x86) || defined(arm) || \
12 defined(i86pc) || defined(_M_IA64) || defined(ia64)
13 #define _LITTLE_ENDIAN
14 #endif
15-#endif
16
17 #ifdef _LITTLE_ENDIAN
18 #define __HI(x) *(1+(int*)&x)