Ticket #57333: CrashReporter.patch

File CrashReporter.patch, 1.2 KB (added by ballapete (Peter "Pete" Dyballa), 6 years ago)
  • (a) a/os/log.c-orig vs. (b) b/os/log.c

    a b  
    127127
    128128static const char *__crashreporter_info__ __attribute__ ((__used__)) =
    129129    &__crashreporter_info_buff__[0];
    130 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
     130#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
    131131// This is actually a toolchain requirement, but I'm not sure the correct check,
    132132// but it should be fine to just only include it for Leopard and later.  This line
    133133// just tells the linker to never strip this symbol (such as for space optimization)
  • (a) a/hw/xquartz/mach-startup/bundle-main.c-orig vs. (b) b/hw/xquartz/mach-startup/bundle-main.c

    a b  
    9191static char __crashreporter_info_buff__[4096] = { 0 };
    9292static const char *__crashreporter_info__ __attribute__((__used__)) =
    9393    &__crashreporter_info_buff__[0];
    94 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
     94#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
    9595// This is actually a toolchain requirement, but I'm not sure the correct check,
    9696// but it should be fine to just only include it for Leopard and later.  This line
    9797// just tells the linker to never strip this symbol (such as for space optimization)