Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 19c6d6b2e18240bea57b2fea8d1e397cdfe8343c8f8493a1af007c3149cff1ad
Ticket: 95a8293a2936e34cc8d0658c21e5214f1ca9b435
Build failure with Aqua support on OS X 10.8 and 10.9
User & Date: ryandesign on 2018-01-07 02:01:54
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed 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
    
  5. foundin changed to: "8.6.8"
  6. is_private changed to: "0"
  7. login: "ryandesign"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "df1d7fa59ae3f89054a03e83c668bbb2903d08ae"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "ryandesign"
  14. subsystem changed to: "52. Portability Support"
  15. title changed to:
    Build failure with Aqua support on OS X 10.8 and 10.9
    
  16. type changed to: "Bug"