diff options
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.patch | 18 |
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 @@ | |||
1 | diff --git openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h | ||
2 | index 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) | ||