-
-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-32901: update macOS 10.9+ installer to Tcl/Tk 8.6.8
- Loading branch information
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Fix build failure with +quartz variant on OS X 10.8 and 10.9. | ||
Even though Gestalt was deprecated in OS X 10.8, it should work fine | ||
through OS X 10.9, and its replacement NSOperatingSystemVersion was | ||
not introduced until OS X 10.10. | ||
|
||
Patch from MacPorts project and reported upstream: | ||
https://trac.macports.org/ticket/55649 | ||
--- tk8.6.8/macosx/tkMacOSXXStubs.c.orig 2017-12-06 09:25:08.000000000 -0600 | ||
+++ tk8.6.8-patched/macosx/tkMacOSXXStubs.c 2018-01-06 19:34:17.000000000 -0600 | ||
@@ -175,7 +175,7 @@ | ||
{ | ||
int major, minor, patch; | ||
|
||
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1080 | ||
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 | ||
Gestalt(gestaltSystemVersionMajor, (SInt32*)&major); | ||
Gestalt(gestaltSystemVersionMinor, (SInt32*)&minor); | ||
Gestalt(gestaltSystemVersionBugFix, (SInt32*)&patch); |
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/macOS/2018-02-27-17-33-15.bpo-32901.hQu0w3.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update macOS 10.9+ installer to Tcl/Tk 8.6.8. |