0001-Disable-tcl-compatibility-layers.patch 1.2 KB

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