[oe-commits] Henning Heinold : uclibc: try to fix isnan and bump PR
git version control
git at git.openembedded.org
Thu Aug 5 13:23:51 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 52d472c5971b466b112bcff40abab80007ae0c52
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=52d472c5971b466b112bcff40abab80007ae0c52
Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date: Thu Aug 5 12:04:37 2010 +0200
uclibc: try to fix isnan and bump PR
---
recipes/uclibc/uclibc-git/isnan.patch | 25 +++++++++++++++++++++++++
recipes/uclibc/uclibc_git.bb | 3 ++-
2 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/recipes/uclibc/uclibc-git/isnan.patch b/recipes/uclibc/uclibc-git/isnan.patch
new file mode 100644
index 0000000..1d88a74
--- /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_))
diff --git a/recipes/uclibc/uclibc_git.bb b/recipes/uclibc/uclibc_git.bb
index 0c93312..66e3996 100644
--- a/recipes/uclibc/uclibc_git.bb
+++ b/recipes/uclibc/uclibc_git.bb
@@ -14,7 +14,7 @@ DEFAULT_PREFERENCE = "-1"
# precedence.
require uclibc.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
#recent versions uclibc require real kernel headers
@@ -31,5 +31,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \
file://uclibc-arm-ftruncate64.patch \
file://uclibc_enable_log2_test.patch \
file://ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch \
+ file://isnan.patch \
"
S = "${WORKDIR}/git"
More information about the Openembedded-commits
mailing list