Revision: 96091 https://trac.macports.org/changeset/96091 Author: kimuraw@macports.org Date: 2012-07-31 07:48:48 -0700 (Tue, 31 Jul 2012) Log Message: ----------- devel/boehmgc-devel: Fixed crash on 10.8 Moutain Lion #35429 Modified Paths: -------------- trunk/dports/devel/boehmgc-devel/Portfile Added Paths: ----------- trunk/dports/devel/boehmgc-devel/files/ trunk/dports/devel/boehmgc-devel/files/patch-misc.c.diff Modified: trunk/dports/devel/boehmgc-devel/Portfile =================================================================== --- trunk/dports/devel/boehmgc-devel/Portfile 2012-07-31 14:20:00 UTC (rev 96090) +++ trunk/dports/devel/boehmgc-devel/Portfile 2012-07-31 14:48:48 UTC (rev 96091) @@ -6,6 +6,7 @@ name boehmgc-devel conflicts boehmgc version 7.3alpha2 +revision 1 categories devel license Permissive maintainers nomaintainer @@ -36,6 +37,8 @@ configure.cppflags-append -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE +patchfiles patch-misc.c.diff + variant redirect { configure.args-append --enable-redirect-malloc } Added: trunk/dports/devel/boehmgc-devel/files/patch-misc.c.diff =================================================================== --- trunk/dports/devel/boehmgc-devel/files/patch-misc.c.diff (rev 0) +++ trunk/dports/devel/boehmgc-devel/files/patch-misc.c.diff 2012-07-31 14:48:48 UTC (rev 96091) @@ -0,0 +1,11 @@ +--- misc.c.orig 2012-07-31 23:44:04.000000000 +0900 ++++ misc.c 2012-07-31 23:44:20.000000000 +0900 +@@ -299,7 +299,7 @@ + /* Clear the stack up to about limit. Return arg. This function is */ + /* not static because it could also be errorneously defined in .S */ + /* file, so this error would be caught by the linker. */ +- void * GC_clear_stack_inner(void *arg, ptr_t limit) ++ void * GC_clear_stack_inner(void *arg, volatile ptr_t limit) + { + word dummy[CLEAR_SIZE]; +