MacPorts on Lion (common issues, fixes, and workarounds)

Jack Howarth howarth at bromo.med.uc.edu
Sun Jul 24 11:34:00 PDT 2011


On Sun, Jul 24, 2011 at 09:22:16PM +0300, Panayotis Katsaloulis wrote:
> 
> On 20 Ιουλ 2011, at 7:26 μ.μ., Jeremy Huddleston wrote:
> 
> > wine and libsdl are the only two ports that I've run into that need to fall back on gcc-4.2
> 
> I tried to install wine with 2.0.0 and Lion, and it failed, probably for the reason you are mentioning here.
> Is there any trick I should do to overcome this problem, or should I just have patience? 

Are you using...

diff -ru SDL-1.2.14/src/video/mmx.h SDL-1.2.14-patched/src/video/mmx.h
--- SDL-1.2.14/src/video/mmx.h  2009-10-13 01:07:15.000000000 +0200
+++ SDL-1.2.14-patched/src/video/mmx.h  2011-07-11 11:23:52.000000000 +0200
@@ -355,7 +355,7 @@
 
 #define        mmx_r2m(op, reg, mem) \
        __asm__ __volatile__ (#op " %%" #reg ", %0" \
-                             : "=X" (mem) \
+                             : "=m" (mem) \
                              : /* nothing */ )
 
 #define        mmx_r2r(op, regs, regd) \

as recommended by upstream? This works fine for us under 10.7 fink.

http://hg.libsdl.org/SDL/rev/32f0f603a0c8

> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list