Debian Codegraph @

Mac/BuildScript/backport_gh110950_fix.patch

raw
1 From https://core.tcl-lang.org/tk/info/ed7cfbac8db11aa0
2
3 Note: the diff here is hand-tweaked so that it applies cleanly to both Tk 8.6.8 and 8.6.13.
4
5 diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
6 index 71d7c3385..e6a68356c 100644
7 --- a/macosx/tkMacOSXInit.c
8 +++ b/macosx/tkMacOSXInit.c
9 @@ -128,6 +128,16 @@ static int TkMacOSXGetAppPathCmd(ClientData cd, Tcl_Interp *ip,
10 observe(NSApplicationDidChangeScreenParametersNotification, displayChanged:);
11 observe(NSTextInputContextKeyboardSelectionDidChangeNotification, keyboardChanged:);
12 #undef observe
13 +}
14 +
15 +
16 +/*
17 + * Fix for 10b38a7a7c.
18 + */
19 +
20 +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app
21 +{
22 + return YES;
23 }
24
25 -(void)applicationWillFinishLaunching:(NSNotification *)aNotification