summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch10
-rwxr-xr-xMac/BuildScript/build-installer.py2
2 files changed, 11 insertions, 1 deletions
diff --git a/Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch b/Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch
new file mode 100644
index 0000000..e70e2c3
--- /dev/null
+++ b/Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch
@@ -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];
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 9db2616..1f6fcaf 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -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([