diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-12 20:58:34 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-26 23:41:44 +0100 |
commit | 57e069cde6617f00ca8834a82c6f360af43d5067 (patch) | |
tree | 48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/openjdk/openjdk-6/icedtea-hotspot-isnanf.patch | |
download | meta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz |
meta-java: initial commit
* taken over mostly stuff from oe classic
* cleaned up recipes
* added license checksums
* bump icedtea6-native to 1.8.11
* use jamvm from git as native
Diffstat (limited to 'recipes-core/openjdk/openjdk-6/icedtea-hotspot-isnanf.patch')
-rw-r--r-- | recipes-core/openjdk/openjdk-6/icedtea-hotspot-isnanf.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-6/icedtea-hotspot-isnanf.patch b/recipes-core/openjdk/openjdk-6/icedtea-hotspot-isnanf.patch new file mode 100644 index 0000000..494e965 --- /dev/null +++ b/recipes-core/openjdk/openjdk-6/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" | ||