diff options
Diffstat (limited to 'recipes-core/openjdk/openjdk-6-6b24/icedtea-hotspot-isnanf.patch')
-rw-r--r-- | recipes-core/openjdk/openjdk-6-6b24/icedtea-hotspot-isnanf.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-6-6b24/icedtea-hotspot-isnanf.patch b/recipes-core/openjdk/openjdk-6-6b24/icedtea-hotspot-isnanf.patch new file mode 100644 index 0000000..494e965 --- /dev/null +++ b/recipes-core/openjdk/openjdk-6-6b24/icedtea-hotspot-isnanf.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Index: icedtea6-1.8/build/openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp | ||
2 | =================================================================== | ||
3 | --- openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2010-06-09 21:47:12.695674808 +0200 | ||
4 | +++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2010-06-09 21:48:08.699007491 +0200 | ||
5 | @@ -220,14 +220,14 @@ | ||
6 | // checking for nanness | ||
7 | #ifdef SOLARIS | ||
8 | #ifdef SPARC | ||
9 | -inline int g_isnan(float f) { return isnanf(f); } | ||
10 | +inline int g_isnan(float f) { return __isnanf(f); } | ||
11 | #else | ||
12 | // isnanf() broken on Intel Solaris use isnand() | ||
13 | inline int g_isnan(float f) { return isnand(f); } | ||
14 | #endif | ||
15 | inline int g_isnan(double f) { return isnand(f); } | ||
16 | #elif LINUX | ||
17 | -inline int g_isnan(float f) { return isnanf(f); } | ||
18 | +inline int g_isnan(float f) { return __isnanf(f); } | ||
19 | inline int g_isnan(double f) { return isnan(f); } | ||
20 | #else | ||
21 | #error "missing platform-specific definition here" | ||