summaryrefslogtreecommitdiffstats
path: root/package/tcl/tcl-strtod.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcl/tcl-strtod.patch')
-rw-r--r--package/tcl/tcl-strtod.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/tcl/tcl-strtod.patch b/package/tcl/tcl-strtod.patch
new file mode 100644
index 000000000..a9974546b
--- /dev/null
+++ b/package/tcl/tcl-strtod.patch
@@ -0,0 +1,11 @@
+--- tcl8.4.9/compat/strtod.c 2002-02-25 16:26:12.000000000 +0200
++++ tcl8.4.9/compat/strtod.c 2005-05-30 08:55:18.000000000 +0300
+@@ -24,6 +24,8 @@
+ #define NULL 0
+ #endif
+
++#undef strtod
++
+ static int maxExponent = 511; /* Largest possible base 10 exponent. Any
+ * exponent larger than this will already
+ * produce underflow or overflow, so there's