It built ok here, but sam, and acme aren't doing anything terribly interesting (well maybe it is interesting, but they're crashing, presumably logging something to somewhere interesting). I'll keep poking when I'm not at work later. Dave On Tue, Sep 6, 2011 at 9:26 AM, Jeff Sickel wrote: > Nice handling of the Glenda icon. > > Using Xcode 4.1 on Lion I get different errors (libstdio is another problem > as FPdbleword is no longer defined) so I'm still not rebuilding everything. > 9c picks up: > > gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) > > > 9c -DMULTITOUCH -o cocoa-screen-objc.o cocoa-screen.m > cocoa-screen.m:712: error: cannot convert to a pointer type > cocoa-screen.m:712: error: incompatible type for argument 1 of > ‘CGWarpMouseCursorPosition’ > > Corrected that would be: > % hg diff . > diff -r d92a37e64563 src/cmd/devdraw/cocoa-screen.m > --- a/src/cmd/devdraw/cocoa-screen.m Tue Sep 06 10:10:43 2011 -0400 > +++ b/src/cmd/devdraw/cocoa-screen.m Tue Sep 06 11:08:04 2011 -0500 > @@ -709,7 +709,7 @@ > q = [win.obj convertBaseToScreen:q]; > q.y = r.size.height - q.y; > > - CGWarpMouseCursorPosition(q); > + CGWarpMouseCursorPosition(NSPointToCGPoint(q)); > > // race condition > mpos = p; > > > On Sep 6, 2011, at 11:03 AM, Russ Cox wrote: > > > Try adding > > > > # HA HA HA. Apple broke things again. > > [ "$SYSNAME" != "Darwin" ] || ranlib $2 > > > > to the bottom of $PLAN9/bin/9ar > > > > > > >