[package] update tcl to 8.5.8, clean-up makefile, use PKG_INSTALL, patch from Raphael Huck

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22449 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2010-07-31 22:33:37 +00:00
parent e0e4dafe07
commit 7a6ad17ce4
5 changed files with 66 additions and 50 deletions

View File

@ -0,0 +1,20 @@
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -73,7 +73,7 @@ typedef unsigned int fpu_control_t __att
* MIPS floating-point units need special settings in control registers
* to use gradual underflow as we expect.
*/
-#if defined(__mips)
+#if defined(__sgi) && defined(_COMPILER_VERSION)
#include <sys/fpu.h>
#endif
/*
@@ -2166,7 +2166,7 @@ TclInitDoubleConversion(void)
} bitwhack;
#endif
-#if defined(__mips)
+#if defined(__sgi) && defined(_COMPILER_VERSION)
union fpc_csr mipsCR;
mipsCR.fc_word = get_fpc_csr();