Revision
96088
Author
kimuraw@macports.org
Date
2012-07-31 07:16:57 -0700 (Tue, 31 Jul 2012)

Log Message

devel/boehmgc: Fixed crash on 10.8 Moutain Lion #35429

Modified Paths

Added Paths

Diff

Modified: trunk/dports/devel/boehmgc/Portfile (96087 => 96088)


--- trunk/dports/devel/boehmgc/Portfile	2012-07-31 14:02:47 UTC (rev 96087)
+++ trunk/dports/devel/boehmgc/Portfile	2012-07-31 14:16:57 UTC (rev 96088)
@@ -6,6 +6,7 @@
 name		boehmgc
 conflicts       boehmgc-devel
 version		7.2c
+revision	1
 categories	devel
 license		Permissive
 maintainers	waqar openmaintainer
@@ -31,6 +32,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/files/patch-misc.c.diff (0 => 96088)


--- trunk/dports/devel/boehmgc/files/patch-misc.c.diff	                        (rev 0)
+++ trunk/dports/devel/boehmgc/files/patch-misc.c.diff	2012-07-31 14:16:57 UTC (rev 96088)
@@ -0,0 +1,11 @@
+--- misc.c.orig	2012-07-31 21:33:45.000000000 +0900
++++ misc.c	2012-07-31 21:34:09.000000000 +0900
+@@ -283,7 +283,7 @@
+   /* not static because it could also be errorneously defined in .S     */
+   /* file, so this error would be caught by the linker.                 */
+   /*ARGSUSED*/
+-  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];
+