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

Ryan Schmidt ryandesign at macports.org
Sun Jul 24 13:31:37 PDT 2011


On Jul 24, 2011, at 13:34, Jack Howarth wrote:

> 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

I think the obvious answer to the question would be: is that in the libsdl portfile? If so then he's using it. If not then he's not. (And it's not.) And equally obviously, if there is a change you believe needs to be made in the libsdl port, won't you file an issue for it in the issue tracker? Thanks.




More information about the macports-dev mailing list