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 Index: kitsh/buildsrc/kitsh-0.0/installvfs.tcl ================================================================== --- kitsh/buildsrc/kitsh-0.0/installvfs.tcl +++ kitsh/buildsrc/kitsh-0.0/installvfs.tcl @@ -96,11 +96,16 @@ "zip" { set kitfd [open $kitfile a+] fconfigure $kitfd -translation binary cd $vfsdir - set zipfd [open "|zip -r - [glob *] 2> /dev/null"] + if {$tcl_platform(platform) eq "windows"} { + set null NUL + } else { + set null /dev/null + } + set zipfd [open "|zip -r - [glob *] 2> $null"] fconfigure $zipfd -translation binary fcopy $zipfd $kitfd close $kitfd 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 Tcl_Source_Code-e7b4aca82756056a/generic/tcl.h Tcl_Source_Code-e7b4aca82756056a-bug2233954/generic/tcl.h +--- Tcl_Source_Code-e7b4aca82756056a/generic/tcl.h 2012-02-11 07:44:35.000000000 -0800 ++++ Tcl_Source_Code-e7b4aca82756056a-bug2233954/generic/tcl.h 2012-02-14 07:29:01.000000000 -0800 +@@ -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