Artifacts Associated With Ticket 95a8293a2936e34c
Ticket change [19c6d6b2e1] (rid 160054) by ryandesign on 2018-01-07 02:01:54:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Building tk 8.6.8 with the --enable-aqua configure flag fails on OS X 10.8 and 10.9 (not older or newer versions of macOS) with this error: macosx/tkMacOSXXStubs.c:183:2: error: use of undeclared identifier 'NSOperatingSystemVersion' NSOperatingSystemVersion systemVersion = [[NSProcessInfo processInfo] operatingSystemVersion]; ^ Although Gestalt was deprecated in OS X 10.8, it should report the correct OS version number in 10.9 and earlier, and its replacement NSOperatingSystemVersion was not introduced until OS X 10.10. The fix is to change the condition under which Gestalt is used from "#if MAC_OS_X_VERSION_MIN_REQUIRED < 1080" to "#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000": https://github.com/macports/macports-ports/blob/0a883ad388b2cbecf14f5ed674bfc9b6d2ce6f23/x11/tk/files/patch-macosx-tkMacOSXXStubs.c.diff See also the MacPorts project's ticket about this issue: https://trac.macports.org/ticket/55649 - foundin initialized to: "8.6.8"
- is_private initialized to: "0"
- login: "ryandesign"
- priority initialized to: "5 Medium"
- private_contact initialized to: "df1d7fa59ae3f89054a03e83c668bbb2903d08ae"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "ryandesign"
- subsystem initialized to: "52. Portability Support"
- title initialized to:
Build failure with Aqua support on OS X 10.8 and 10.9
- type initialized to: "Bug"
Ticket change [4a2e3efea1] (rid 160055) by kevin_walzer on 2018-01-07 14:02:01:
- assignee changed to: "kevin_walzer"
- icomment:
Can you confirm that this patch already works in MacPorts?
- login: "kevin_walzer"
- mimetype: "text/plain"
Ticket change [627888dfca] (rid 259688) by serhiy.storchaka on 2026-10-21 09:59:44:
- icomment:
Fixed in Tk 8.6.9 by Tk check-in [https://core.tcl-lang.org/tk/info/e972802e92|e972802e92]: Gestalt is used when building for macOS older than 10.10, as in the MacPorts patch.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [4ed0c78e8b] (rid 259986) by serhiy.storchaka on 2026-10-22 17:19:29:
- closedate changed to: "2461334.9164841436"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"