Ticket #49227: boehm-gc-darwin15-hack.patch

File boehm-gc-darwin15-hack.patch, 844 bytes (added by howarth.at.macports@…, 9 years ago)

patch to eliminate boehm-gc testsuite regressions against darwin15's system unwinder

  • boehm-gc/include/private/gcconfig.h

    old new  
    10411041#   define MACH_TYPE "I386"
    10421042#   if defined(__LP64__) || defined(_WIN64)
    10431043#     define CPP_WORDSZ 64
    1044 #     define ALIGNMENT 8
     1044#     define ALIGNMENT 2
    10451045#   else
    10461046#     define CPP_WORDSZ 32
    1047 #     define ALIGNMENT 4
     1047#     define ALIGNMENT 2
    10481048                        /* Appears to hold for all "32 bit" compilers   */
    10491049                        /* except Borland.  The -a4 option fixes        */
    10501050                        /* Borland.                                     */
     
    20052005# ifdef X86_64
    20062006#   define MACH_TYPE "X86_64"
    20072007#   ifdef __ILP32__
    2008 #     define ALIGNMENT 4
     2008#     define ALIGNMENT 2
    20092009#     define CPP_WORDSZ 32
    20102010#   else
    2011 #     define ALIGNMENT 8
     2011#     define ALIGNMENT 2
    20122012#     define CPP_WORDSZ 64
    20132013#   endif
    20142014#   ifndef HBLKSIZE