diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2010-08-05 12:04:37 +0200 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2010-08-05 15:23:32 +0200 |
commit | 52d472c5971b466b112bcff40abab80007ae0c52 (patch) | |
tree | 9eb507e57c929d7a56075d4b3b4a37794ca03a1d /recipes/uclibc/uclibc-git | |
parent | c80c701f9f0bed253b07e1af706653d8ec7a079c (diff) | |
download | openembedded-52d472c5971b466b112bcff40abab80007ae0c52.tar.gz |
uclibc: try to fix isnan and bump PR
Diffstat (limited to 'recipes/uclibc/uclibc-git')
-rw-r--r-- | recipes/uclibc/uclibc-git/isnan.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/uclibc/uclibc-git/isnan.patch b/recipes/uclibc/uclibc-git/isnan.patch new file mode 100644 index 0000000000..1d88a74020 --- /dev/null +++ b/recipes/uclibc/uclibc-git/isnan.patch @@ -0,0 +1,25 @@ +Index: git/libc/sysdeps/linux/common/bits/mathcalls.h +=================================================================== +--- git.orig/libc/sysdeps/linux/common/bits/mathcalls.h 2010-08-05 11:28:00.633339104 +0200 ++++ git/libc/sysdeps/linux/common/bits/mathcalls.h 2010-08-05 11:38:03.545778271 +0200 +@@ -235,15 +235,14 @@ + __END_NAMESPACE_C99 + #endif + +- +-/* Return nonzero if VALUE is not a number. */ +-/* DELETE? __MATHDECL_PRIV adds another "__": so this is "____isnan"???! */ +-/*__MATHDECL_PRIV (int,__isnan,, (_Mdouble_ __value), (__const__))*/ +- +-#if defined __USE_MISC || defined __USE_XOPEN ++#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99 + /* Return nonzero if VALUE is not a number. */ ++__BEGIN_NAMESPACE_C99 + __MATHDECL_PRIV (int,isnan,, (_Mdouble_ __value), (__const__)) ++__END_NAMESPACE_C99 ++#endif + ++#if defined __USE_MISC || defined __USE_XOPEN + # ifdef __DO_XSI_MATH__ + /* Bessel functions. */ + __MATHCALL (j0,, (_Mdouble_)) |