Index: build/tcc-patches/0.9.26/tcc-0.9.26-tclio.diff ================================================================== --- build/tcc-patches/0.9.26/tcc-0.9.26-tclio.diff +++ build/tcc-patches/0.9.26/tcc-0.9.26-tclio.diff @@ -95,11 +95,11 @@ if (size <= 0) { tcc_error_noabort("could not read header"); goto the_end; diff -uNr tcc-0.9.26.orig/tcc.c tcc-0.9.26-1tclio/tcc.c --- tcc-0.9.26.orig/tcc.c 2013-02-15 08:24:00.000000000 -0600 -+++ tcc-0.9.26-1tclio/tcc.c 2014-06-21 00:19:39.740011999 -0500 ++++ tcc-0.9.26-1tclio/tcc.c 2014-06-21 12:37:45.060011999 -0500 @@ -18,6 +18,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef USE_TCL_STUBS @@ -117,11 +117,11 @@ +#ifdef LIBTCC_USE_TCL_STUBS + Tcl_Interp *interp; + + interp = Tcl_CreateInterp(); + if (interp != NULL) { -+ Tcl_InitStubs(interp, "8.4", 0); ++ Tcl_InitStubs(interp, TCL_VERSION, 0); + } +#endif + + s = tcc_new(NULL); s->output_type = TCC_OUTPUT_EXE;