[30578] trunk/dports/devel/glib2
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 31 12:11:19 PDT 2007
Revision: 30578
http://trac.macosforge.org/projects/macports/changeset/30578
Author: rhwood at macports.org
Date: 2007-10-31 12:11:19 -0700 (Wed, 31 Oct 2007)
Log Message:
-----------
Patch per ticket:13052
Modified Paths:
--------------
trunk/dports/devel/glib2/Portfile
Added Paths:
-----------
trunk/dports/devel/glib2/files/patch-gatomic.c.diff
Modified: trunk/dports/devel/glib2/Portfile
===================================================================
--- trunk/dports/devel/glib2/Portfile 2007-10-31 18:40:17 UTC (rev 30577)
+++ trunk/dports/devel/glib2/Portfile 2007-10-31 19:11:19 UTC (rev 30578)
@@ -34,7 +34,8 @@
patchfiles \
patch-glib-2.0.pc.in.diff \
patch-gutils.c.diff \
- patch-gi18n.h.diff
+ patch-gi18n.h.diff \
+ patch-gatomic.c.diff
depends_build \
port:pkgconfig
Added: trunk/dports/devel/glib2/files/patch-gatomic.c.diff
===================================================================
--- trunk/dports/devel/glib2/files/patch-gatomic.c.diff (rev 0)
+++ trunk/dports/devel/glib2/files/patch-gatomic.c.diff 2007-10-31 19:11:19 UTC (rev 30578)
@@ -0,0 +1,22 @@
+--- glib/gatomic.c 2007-10-16 00:44:49.000000000 -0500
++++ glib/gatomic.c 2007-10-31 01:30:21.000000000 -0500
+@@ -281,7 +281,8 @@
+ gint val)
+ {
+ gint result, temp;
+- __asm__ __volatile__ (".Lieaa%=: lwarx %0,0,%3\n"
++ __asm__ __volatile__ ("nop\n"
++ ".Lieaa%=: lwarx %0,0,%3\n"
+ " add %1,%0,%4\n"
+ " stwcx. %1,0,%3\n"
+ " bne- .Lieaa%="
+@@ -297,7 +298,8 @@
+ gint val)
+ {
+ gint result, temp;
+- __asm__ __volatile__ (".Lia%=: lwarx %0,0,%3\n"
++ __asm__ __volatile__ ("nop\n"
++ ".Lia%=: lwarx %0,0,%3\n"
+ " add %1,%0,%4\n"
+ " stwcx. %1,0,%3\n"
+ " bne- .Lia%="
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071031/f178581e/attachment.html
More information about the macports-changes
mailing list