Ok I have created the patch on my own. I have got the tarball of Apple (TCL/TK 8.5.9 Cocoa) and patched it myself.

Cheers,
Alexander. 


On Sep 3, 2011, at 8:15 PM, Alexander Agathos wrote:

As an add-on to my mail I think that I need a patch to Tk-Cocoa also :

This also requires a patch to Tk Cocoa to expose the Mac

window needed for making an OpenGL context.

Where can I find this patch? 

Cheers,
Alexander.

On Sat, Sep 3, 2011 at 7:02 PM, Alexander Agathos <alexander.agathos@gmail.com> wrote:
Hi,

I have seen a patch concerning compiling Togl (a software component of Chimera) in Cocoa based TCL/TK


The problem is that I can't compile it because of the function in the patch :

WindowRef r = TkMacOSXDrawableWindowRef(d);

The function TkMacOSXDrawableWindowRef does not exist anymore. Is it possible to guide me on what I need to do?

Cheers,
Alexander.