Ticket #14454: Portfile.diff

File Portfile.diff, 558 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • Portfile

    old new  
    7676        configure.cflags-append -D_NONSTD_SOURCE
    7777        configure.cxxflags-append       -D_NONSTD_SOURCE
    7878        patchfiles-append patch-interp.h patch-sys-mman.c
     79        post-patch {
     80                reinplace "s|#if defined(_STRUCT_X86_EXCEPTION_STATE32)|#if __DARWIN_UNIX03|g" ${worksrcpath}/libgc/darwin_stop_world.c
     81                reinplace "s|defined *(_STRUCT_MCONTEXT)|__DARWIN_UNIX03|g" \
     82                          ${worksrcpath}/mono/mini/mini-ppc.h \
     83                          ${worksrcpath}/mono/mini/mini-x86.h
     84        }
    7985}