openbsd-ports/graphics/py-Imaging/patches/patch-Tk_tkImaging_c
2010-09-05 13:04:43 +00:00

15 lines
729 B
Plaintext

$OpenBSD: patch-Tk_tkImaging_c,v 1.4 2010/09/05 13:04:43 sthen Exp $
--- Tk/tkImaging.c.orig Sun Dec 3 11:37:29 2006
+++ Tk/tkImaging.c Sun Sep 5 13:59:42 2010
@@ -240,8 +240,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);
}