[41881] trunk/dports/devel/mono/files/patch-libgc-darwin_stop_world.c.diff
blb at macports.org
blb at macports.org
Tue Nov 11 14:54:50 PST 2008
Revision: 41881
http://trac.macports.org/changeset/41881
Author: blb at macports.org
Date: 2008-11-11 14:54:50 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
devel/mono - fix building on 10.5/PowerPC, ticket #16290
Modified Paths:
--------------
trunk/dports/devel/mono/files/patch-libgc-darwin_stop_world.c.diff
Modified: trunk/dports/devel/mono/files/patch-libgc-darwin_stop_world.c.diff
===================================================================
--- trunk/dports/devel/mono/files/patch-libgc-darwin_stop_world.c.diff 2008-11-11 21:51:38 UTC (rev 41880)
+++ trunk/dports/devel/mono/files/patch-libgc-darwin_stop_world.c.diff 2008-11-11 22:54:50 UTC (rev 41881)
@@ -1,6 +1,6 @@
--- libgc/darwin_stop_world.c 2008-03-25 00:10:37.000000000 +0100
+++ libgc/darwin_stop_world.c 2008-03-25 00:11:05.000000000 +0100
-@@ -102,7 +102,7 @@
+@@ -105,7 +105,7 @@
if(r != KERN_SUCCESS) ABORT("thread_get_state failed");
#if defined(I386)
@@ -9,10 +9,28 @@
lo = state.__esp;
GC_push_one(state.__eax);
-@@ -327,7 +327,7 @@
+@@ -127,7 +127,7 @@
+ GC_push_one(state.ebp);
+ #endif
+ #elif defined(POWERPC)
+-#if defined(_STRUCT_PPC_EXCEPTION_STATE)
++#if __DARWIN_UNIX03
+ lo = (void*)(state.__r1 - PPC_RED_ZONE_SIZE);
+
+ GC_push_one(state.__r0);
+@@ -270,7 +270,7 @@
(natural_t *)&info, &outCount);
if(r != KERN_SUCCESS) continue;
+-#if defined(_STRUCT_PPC_EXCEPTION_STATE)
++#if __DARWIN_UNIX03
+ lo = (void*)(info.__r1 - PPC_RED_ZONE_SIZE);
+ hi = (ptr_t)FindTopOfStack(info.__r1);
+
+@@ -350,7 +350,7 @@
+ (natural_t *)&info, &outCount);
+ if(r != KERN_SUCCESS) continue;
+
-#if defined(_STRUCT_X86_EXCEPTION_STATE32)
+#if __DARWIN_UNIX03
lo = (void*)info.__esp;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081111/eecdf4e5/attachment.html>
More information about the macports-changes
mailing list