On 1/22/2012 6:39 AM, Pierre Schnizer wrote:
> Dear all,
>
>       fink stable failed to build on Mac OS X Lion 10.7.2. But the solution 
> can already be found
> on https://bugs.webkit.org/show_bug.cgi?id=39945 with the modification 
> visible in
> https://bugs.webkit.org/attachment.cgi?id=57442&action=prettypatch
>
> So I added the following lines to  
> /sw/fink/dists/stable/main/finkinfo/web/qtwebkit.patch:
> <add>
> --- qt-kde-qt-mac/src/3rdparty/webkit/WebCore/bindings/js/JSDOMBinding.h      
>   2010-12-27 21:22:05.000000000 +0100
> +++ qt-kde-qt-mac-new/src/3rdparty/webkit/WebCore/bindings/js/JSDOMBinding.h  
>   2012-01-22 11:18:18.000000000 +0100
> @@ -225,7 +225,7 @@
>       {
>           if (!node)
>               return JSC::jsNull();
> -        if (JSNode* wrapper = getCachedDOMNodeWrapper(exec, 
> node->document(), node))
> +        if (JSC::JSCell* wrapper = getCachedDOMNodeWrapper(exec, 
> node->document(), node))
>               return wrapper;
>           return createDOMNodeWrapper<WrapperClass>(exec, globalObject, node);
>       }
> </add>
> and the whole package built. I built it because ipython-py27 requested it and 
> there it seems to work.
>
> My installation is:
> $uname -a
> Darwin .local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 
> 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
>
> About this MAC ->  Further Information gives:
> Mac OS X Lion 10.7.2 (11C74)

More informative in this case would have been your xcode version since 
that affects the compiler.  I'm guessing it's xcode4.2, which no longer 
has gcc-4.2 (qtwebkit's default compiler).  I've committed your patch 
now to 10.7 after testing that it doesn't affect builds with Xcode4.1. 
Look for revision -38 after a selfupdate.

Ben, I've also added a BuildDependsOnly flag to both qtwebkit-mac and 
qtwebkit-x11 since the validator was complaining.

Hanspeter

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to