Index: kitcreator ================================================================== --- kitcreator +++ kitcreator @@ -8,11 +8,11 @@ shift ;; esac # Determine which Tcl version to build -TCLVERS="8.5.14" +TCLVERS="8.6.1" if echo "$1" | grep '^[0-9][0-9]*\.' >/dev/null || echo "$1" | egrep '^(cvs|fossil)_' >/dev/null; then TCLVERS="$1" shift fi ADDED tcl/patches/all/tcl-all-fix-stat64-bug2233954-mingw.diff Index: tcl/patches/all/tcl-all-fix-stat64-bug2233954-mingw.diff ================================================================== --- /dev/null +++ tcl/patches/all/tcl-all-fix-stat64-bug2233954-mingw.diff @@ -0,0 +1,12 @@ +diff -uNr /c/dev/Tcl/core/trunk/tcl/generic/tcl.h~0 /c/dev/Tcl/core/trunk/tcl/generic/tcl.h +--- /c/dev/Tcl/core/trunk/tcl/generic/tcl.h~0 2013-09-24 13:50:16 -0700 ++++ /c/dev/Tcl/core/trunk/tcl/generic/tcl.h 2013-09-24 13:47:11 -0700 +@@ -454,6 +454,8 @@ + typedef struct __stat64 Tcl_StatBuf; + # elif (defined(_MSC_VER) && (_MSC_VER < 1400)) || defined(_USE_32BIT_TIME_T) + typedef struct _stati64 Tcl_StatBuf; ++# elif defined(__MINGW32_VERSION) ++ typedef struct _stati64 Tcl_StatBuf; + # else + typedef struct _stat32i64 Tcl_StatBuf; + # endif /* _MSC_VER < 1400 */ Index: tcl/patches/all/tcl-all-fix-stat64-bug2233954-newer.diff ================================================================== --- tcl/patches/all/tcl-all-fix-stat64-bug2233954-newer.diff +++ tcl/patches/all/tcl-all-fix-stat64-bug2233954-newer.diff @@ -2,11 +2,11 @@ --- tclfossil_trunk.orig//generic/tcl.h 2012-05-04 16:11:58.000000000 -0500 +++ tclfossil_trunk-1rsk//generic/tcl.h 2012-05-06 17:33:17.487466336 -0500 @@ -475,6 +475,9 @@ /* Here is a 4-byte gap */ } Tcl_StatBuf; - #elif defined(HAVE_STRUCT_STAT64) +#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__) +# ifdef HAVE_SYS_STAT_H +# include +# endif typedef struct stat64 Tcl_StatBuf; #else