openbsd-ports/graphics/py-Imaging/patches/patch-Tk_tkImaging_c

12 lines
503 B
Plaintext

$OpenBSD: patch-Tk_tkImaging_c,v 1.2 2004/05/23 15:58:01 xsa Exp $
--- Tk/tkImaging.c.orig 2004-05-20 11:41:23.000000000 +0200
+++ Tk/tkImaging.c 2004-05-20 11:57:56.000000000 +0200
@@ -194,6 +194,6 @@ PyImagingPhoto(ClientData clientdata, Tc
void
TkImaging_Init(Tcl_Interp* interp)
{
- Tcl_CreateCommand(interp, "PyImagingPhoto", PyImagingPhoto,
+ Tcl_CreateCommand(interp, "PyImagingPhoto", (Tcl_CmdProc *)PyImagingPhoto,
(ClientData) 0, (Tcl_CmdDeleteProc*) NULL);
}