1From c829552921f0c7c8e522f911135ee100742b441b Mon Sep 17 00:00:00 2001
2From: Andrew Ruder <andrew.ruder@elecsyscorp.com>
3Date: Tue, 8 Apr 2014 15:54:04 -0500
4Subject: [PATCH] Disable tcl compatibility layers
5
6Turn off building compatibility layers for old/broken versions of
7standard functions (strstr, strtoul, strtod) with the assumption that
8anything buildroot is using as a standard C library will be good enough
9to not have broken behavior.
10
11Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
12[Fabrice: Update for 8.6.12]
13Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
14[Julien: Update for 8.6.13]
15Signed-off-by: Julien Olivain <ju.o@free.fr>
16---
17 unix/tcl.m4 | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/unix/tcl.m4 b/unix/tcl.m4
21index ca94abd4ad..42eb58d384 100644
22--- a/unix/tcl.m4
23+++ b/unix/tcl.m4
24@@ -2646,7 +2646,7 @@ AC_DEFUN([SC_TCL_CHECK_BROKEN_FUNC],[
25 #include <stdlib.h>
26 #include <string.h>
27 int main() {]$2[}]]])],[tcl_cv_$1_unbroken=ok],
28-		[tcl_cv_$1_unbroken=broken],[tcl_cv_$1_unbroken=unknown]))
29+		[tcl_cv_$1_unbroken=broken],[tcl_cv_$1_unbroken=ok]))
30 	if test ["$tcl_cv_]$1[_unbroken"] = "ok"; then
31 	    tcl_ok=1
32 	else
33--
342.41.0
35
36