[tcl] Fix build with MSVC 19.51 (#51751)

This commit is contained in:
Chase Knowlden 2026-05-13 21:32:55 -04:00 committed by GitHub
parent 14da8d976f
commit 2839f1064a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/win/makefile.vc b/win/makefile.vc
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -886,7 +886,7 @@ $(ROOT)\manifest.uuid:
git rev-parse HEAD >>$(ROOT)\manifest.uuid
$(TMP_DIR)\tclUuid.h: $(ROOT)\manifest.uuid
- copy $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h
+ copy /b $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h
$(TMP_DIR)\tclEvent.obj: $(GENERICDIR)\tclEvent.c $(TMP_DIR)\tclUuid.h
$(cc32) $(pkgcflags) -I$(COMPATDIR)\zlib -I$(TMP_DIR) \

View File

@ -9,6 +9,7 @@ vcpkg_extract_source_archive(SOURCE_PATH
PATCHES
dependencies.diff
nmake.diff
fix-uuid-ctrl-z.diff
)
file(GLOB sqlite3_sources "${SOURCE_PATH}/pkgs/sqlite3.51.0/compat/sqlite3/*.c" "${SOURCE_PATH}/pkgs/sqlite3.51.0/compat/sqlite3/*.h")
file(GLOB precompiled_tools "${SOURCE_PATH}/win/*.exe" "${SOURCE_PATH}/pkgs/*/win/*.exe")

View File

@ -1,6 +1,7 @@
{
"name": "tcl",
"version": "9.0.3",
"port-version": 1,
"description": "Tcl provides a powerful platform for creating integration applications that tie together diverse applications, protocols, devices, and frameworks. When paired with the Tk toolkit, Tcl provides the fastest and most powerful way to create GUI applications that run on PCs, Unix, and Mac OS X. Tcl can also be used for a variety of web-related tasks and for creating powerful command languages for applications.",
"homepage": "https://github.com/tcltk/tcl",
"license": null,

View File

@ -9930,7 +9930,7 @@
},
"tcl": {
"baseline": "9.0.3",
"port-version": 0
"port-version": 1
},
"tclap": {
"baseline": "1.2.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "cb841e8b157edf680c0f8ef284bff02bd1388bd8",
"version": "9.0.3",
"port-version": 1
},
{
"git-tree": "ecf39d065f594ac59d91f1e2da8ac13e866dacb5",
"version": "9.0.3",