summaryrefslogtreecommitdiff
path: root/graphics/ayam/files/patch-togl_togl.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ayam/files/patch-togl_togl.c')
-rw-r--r--graphics/ayam/files/patch-togl_togl.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/graphics/ayam/files/patch-togl_togl.c b/graphics/ayam/files/patch-togl_togl.c
deleted file mode 100644
index 6d88fac45fed..000000000000
--- a/graphics/ayam/files/patch-togl_togl.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- togl/togl.c.orig 2016-01-13 20:09:57 UTC
-+++ togl/togl.c
-@@ -709,7 +709,7 @@ int Togl_Init(Tcl_Interp *interp)
- }
- #endif
-
-- Tcl_CreateCommand(interp, "togl", Togl_Cmd,
-+ Tcl_CreateCommand(interp, "togl", (Tcl_CmdProc *)Togl_Cmd,
- (ClientData) Tk_MainWindow(interp), NULL);
- Tcl_InitHashTable(&CommandTable, TCL_STRING_KEYS);
-
-@@ -941,7 +941,7 @@ int Togl_Configure(Tcl_Interp *interp, s
- int oldAuxNumber = togl->AuxNumber;
-
- if (Tk_ConfigureWidget(interp, togl->TkWin, configSpecs,
-- argc, argv, (char *)togl, flags) == TCL_ERROR) {
-+ argc, (const char **)argv, (char *)togl, flags) == TCL_ERROR) {
- return(TCL_ERROR);
- }
- /*fprintf(stderr,"hier %d %d %d\n", togl->TkWin, togl->Width, togl->Height);*/
-@@ -1154,7 +1154,7 @@ static int Togl_Cmd(ClientData clientDat
-
- /* Create command event handler */
- togl->widgetCmd = Tcl_CreateCommand(interp, Tk_PathName(tkwin),
-- Togl_Widget, (ClientData)togl,
-+ (Tcl_CmdProc *)Togl_Widget, (ClientData)togl,
- (Tcl_CmdDeleteProc*) ToglCmdDeletedProc);
- Tk_CreateEventHandler(tkwin,
- ExposureMask | StructureNotifyMask,