bpo-44828: macOS installer: avoid leaving a zombie Save panel in Tk 8.6.12rc1 (GH-29367)

This commit is contained in:
Ned Deily 2021-11-02 17:01:37 -04:00 committed by GitHub
parent 38982ab136
commit 4a8b405173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- tk8.6.12/macosx/tkMacOSXDialog.c 2021-10-29 17:08:23.000000000 +0000
+++ tk8.6.12-patched/macosx/tkMacOSXDialog.c 2021-11-02 19:04:59.000000000 +0000
@@ -379,6 +379,7 @@
[NSApp tkFilePanelDidEnd:panel
returnCode:modalReturnCode
contextInfo:callbackInfo ];
+ [parent endSheet:panel];
}
} else {
modalReturnCode = [panel runModal];

View File

@ -269,7 +269,7 @@ def library_recipes():
tcl_checksum='82fd1637c0f7d4b76cb909f8abc373ec'
tk_checksum='d63c3b91b86cd8b6fa54e83ef2c5153e'
tk_patches = [ ]
tk_patches = ['bpo-44828-filedialog-crash-monterey-8612rc1.patch']
result.extend([