Changes between Version 1 and Version 2 of Ticket #52385, comment 10


Ignore:
Timestamp:
Sep 27, 2016, 11:24:30 PM (8 years ago)
Author:
ken-cunningham-webuse
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52385, comment 10

    v1 v2  
    1414}}}
    1515
    16 the patch is applied, tho
    17 
    18 {{{
    19 
    20 static char *
    21 get_os_fallback (void)
    22 {
    23 #if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_9
    24         SInt32 ver_major = 0,
    25                ver_minor = 0,
    26                ver_patch = 0;
    27 
    28         Gestalt (gestaltSystemVersionMajor, &ver_major);
    29         Gestalt (gestaltSystemVersionMinor, &ver_minor);
    30         Gestalt (gestaltSystemVersionBugFix, &ver_patch);
    31 
    32         return g_strdup_printf ("OS X %d.%d.%d", ver_major, ver_minor, ver_patch);
    33 #else
    34         NSProcessInfo *info = [NSProcessInfo processInfo];
    35         NSOperatingSystemVersion version = [info operatingSystemVersion];
    36 
    37         return g_strdup_printf ("OS X %ld.%ld.%ld", version.majorVersion, version.minorVersion, version.patchVersion);
    38 #endif
    39 }
    40 }}}
    41 
    42 However, changing the test line to this version works OK:
    43 {{{
    44 
    45 #if MAC_OS_X_VERSION_MAX_AVAILABLE <= MAC_OS_X_VERSION_10_9
    46 }}}
    47 
    48 {{{
    49 
    50 $ sudo port upgrade hexchat--->  Computing dependencies for hexchat
    51 --->  Building hexchat
    52 --->  Staging hexchat into destroot
    53 --->  Installing hexchat @2.12.1_0+quartz+ssl
    54 --->  Cleaning hexchat
    55 --->  Computing dependencies for hexchat
    56 --->  Deactivating hexchat @2.10.2_2+quartz+ssl
    57 --->  Cleaning hexchat
    58 --->  Activating hexchat @2.12.1_0+quartz+ssl
    59 --->  Cleaning hexchat
    60 --->  Updating database of binaries
    61 }}}