369ef22d1b
- use tk.port.mk and move to a more recent version of Tcl/Tk mostly reads fine to fgsch@, and I've fixed the part which didn't.
15 lines
729 B
Plaintext
15 lines
729 B
Plaintext
$OpenBSD: patch-Tk_tkImaging_c,v 1.5 2010/11/15 20:57:10 sthen Exp $
|
|
--- Tk/tkImaging.c.orig Sun Nov 1 05:44:12 2009
|
|
+++ Tk/tkImaging.c Sat Nov 13 14:56:09 2010
|
|
@@ -258,8 +258,8 @@ PyImagingPhotoGet(ClientData clientdata, Tcl_Interp* i
|
|
void
|
|
TkImaging_Init(Tcl_Interp* interp)
|
|
{
|
|
- Tcl_CreateCommand(interp, "PyImagingPhoto", PyImagingPhotoPut,
|
|
+ Tcl_CreateCommand(interp, "PyImagingPhoto", (Tcl_CmdProc *) PyImagingPhotoPut,
|
|
(ClientData) 0, (Tcl_CmdDeleteProc*) NULL);
|
|
- Tcl_CreateCommand(interp, "PyImagingPhotoGet", PyImagingPhotoGet,
|
|
+ Tcl_CreateCommand(interp, "PyImagingPhotoGet", (Tcl_CmdProc *) PyImagingPhotoGet,
|
|
(ClientData) 0, (Tcl_CmdDeleteProc*) NULL);
|
|
}
|