Ticket #35429: patch-boehmgc-MoutainLion.diff

File patch-boehmgc-MoutainLion.diff, 1.2 KB (added by kimuraw (kimura wataru), 12 years ago)

fix crash on 10.8 Mountain Lion

  • boehmgc/files/patch-misc.c.diff

     
     1--- misc.c.orig 2012-07-31 21:33:45.000000000 +0900
     2+++ misc.c      2012-07-31 21:34:09.000000000 +0900
     3@@ -283,7 +283,7 @@
     4   /* not static because it could also be errorneously defined in .S     */
     5   /* file, so this error would be caught by the linker.                 */
     6   /*ARGSUSED*/
     7-  void * GC_clear_stack_inner(void *arg, ptr_t limit)
     8+  void * GC_clear_stack_inner(void *arg, volatile ptr_t limit)
     9   {
     10     word dummy[CLEAR_SIZE];
     11 
  • boehmgc/Portfile

     
    66name            boehmgc
    77conflicts       boehmgc-devel
    88version         7.2c
     9revision        1
    910categories      devel
    1011license         Permissive
    1112maintainers     waqar openmaintainer
     
    3132
    3233configure.cppflags-append -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE
    3334
     35patchfiles      patch-misc.c.diff
     36
    3437variant redirect {
    3538        configure.args-append  --enable-redirect-malloc
    3639}