diff options
author | Saul Wold <Saul.Wold@intel.com> | 2010-09-01 13:55:36 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-02 09:52:30 +0100 |
commit | a8339e56e1c634fffc576a97e1705f18564f4a18 (patch) | |
tree | d7b4ab0000ba67119d96f38ba414e97f3056bd53 /meta/recipes-devtools/tcltk/tcl | |
parent | d3fd98efd5d64570536ab275dac72ec84a5aad77 (diff) | |
download | openembedded-core-a8339e56e1c634fffc576a97e1705f18564f4a18.tar.gz openembedded-core-a8339e56e1c634fffc576a97e1705f18564f4a18.tar.bz2 openembedded-core-a8339e56e1c634fffc576a97e1705f18564f4a18.zip |
tcl: fix from missing sys/fpu.h and undefined mipsCR
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl')
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl/mips-tclstrtod.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/mips-tclstrtod.patch b/meta/recipes-devtools/tcltk/tcl/mips-tclstrtod.patch new file mode 100644 index 0000000000..c1e0d63324 --- /dev/null +++ b/meta/recipes-devtools/tcltk/tcl/mips-tclstrtod.patch @@ -0,0 +1,28 @@ +http://sourceforge.net/tracker/index.php?func=detail&aid=2902010&group_id=10894&atid=110894 + +Pulled from OE by: Saul Wold <saul.wold@intel.com> + +--- ../generic/tclStrToD.c.orig ++++ ../generic/tclStrToD.c +@@ -71,9 +71,10 @@ + + /* + * MIPS floating-point units need special settings in control registers +- * to use gradual underflow as we expect. ++ * to use gradual underflow as we expect. This fix is for the MIPSpro ++ * compiler. + */ +-#if defined(__mips) ++#if defined(__sgi) && defined(_COMPILER_VERSION) + #include <sys/fpu.h> + #endif + /* +@@ -2166,7 +2167,7 @@ + } bitwhack; + #endif + +-#if defined(__mips) ++#if defined(__sgi) && defined(_COMPILER_VERSION) + union fpc_csr mipsCR; + + mipsCR.fc_word = get_fpc_csr(); |